Skip to content

Commit 31497ea

Browse files
committed
changed to subtitle so pull-down is at bottom
1 parent 012fa72 commit 31497ea

File tree

1 file changed

+21
-17
lines changed

1 file changed

+21
-17
lines changed

lib/com/hydrologis/smash/import_export_plugins/export/gtt/gtt_export.dart

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -112,16 +112,20 @@ class _GttExportWidgetState extends State<GttExportWidget> {
112112

113113
Future<void> init() async {
114114
_projects = [
115-
DropdownMenuItem(child: Text(IEL.of(context).gttExport_selectProject), value: "none")
115+
DropdownMenuItem(
116+
child: Text(IEL.of(context).gttExport_selectProject), value: "none")
116117
];
117118
_gpsLogsProj = [
118-
DropdownMenuItem(child: Text(IEL.of(context).gttExport_selectProject), value: "none")
119+
DropdownMenuItem(
120+
child: Text(IEL.of(context).gttExport_selectProject), value: "none")
119121
];
120122
_simpleNotesProj = [
121-
DropdownMenuItem(child: Text(IEL.of(context).gttExport_selectProject), value: "none")
123+
DropdownMenuItem(
124+
child: Text(IEL.of(context).gttExport_selectProject), value: "none")
122125
];
123126
_imagesProj = [
124-
DropdownMenuItem(child: Text(IEL.of(context).gttExport_selectProject), value: "none")
127+
DropdownMenuItem(
128+
child: Text(IEL.of(context).gttExport_selectProject), value: "none")
125129
];
126130

127131
_serverUrl = GpPreferences().getStringSync(GttUtilities.KEY_GTT_SERVER_URL);
@@ -383,6 +387,16 @@ class _GttExportWidgetState extends State<GttExportWidget> {
383387
SizedBox(
384388
height: 32,
385389
),
390+
ListTile(
391+
leading: Icon(
392+
SmashIcons
393+
.formNotesIcon,
394+
color: SmashColors
395+
.mainDecorations,
396+
),
397+
title: SmashUI.normalText(
398+
"${IEL.of(context).gttExport_formNotes}: $_formNotesCount"), //
399+
),
386400
ListTile(
387401
leading: Icon(
388402
SmashIcons.logIcon,
@@ -391,7 +405,7 @@ class _GttExportWidgetState extends State<GttExportWidget> {
391405
),
392406
title: SmashUI.normalText(
393407
"${IEL.of(context).gttExport_gpsLogs}: $_gpsLogCount"), //"Gps Logs:"
394-
trailing:
408+
subtitle:
395409
DropdownButton<
396410
String>(
397411
items: _gpsLogsProj,
@@ -413,7 +427,7 @@ class _GttExportWidgetState extends State<GttExportWidget> {
413427
),
414428
title: SmashUI.normalText(
415429
"${IEL.of(context).gttExport_simpleNotes}: $_simpleNotesCount"), //"Simple Notes"
416-
trailing:
430+
subtitle:
417431
DropdownButton<
418432
String>(
419433
items:
@@ -436,7 +450,7 @@ class _GttExportWidgetState extends State<GttExportWidget> {
436450
),
437451
title: SmashUI.normalText(
438452
"${IEL.of(context).gttExport_images}: $_imagesCount"), //"Images"
439-
trailing:
453+
subtitle:
440454
DropdownButton<
441455
String>(
442456
items: _imagesProj,
@@ -448,16 +462,6 @@ class _GttExportWidgetState extends State<GttExportWidget> {
448462
s.toString()),
449463
),
450464
),
451-
ListTile(
452-
leading: Icon(
453-
SmashIcons
454-
.formNotesIcon,
455-
color: SmashColors
456-
.mainDecorations,
457-
),
458-
title: SmashUI.normalText(
459-
"${IEL.of(context).gttExport_formNotes}: $_formNotesCount"), //
460-
),
461465
],
462466
),
463467
),

0 commit comments

Comments
 (0)