Tracking funkció fejlesztése
This commit is contained in:
@@ -45,11 +45,11 @@ class MapModeMenuAnchor extends StatelessWidget {
|
||||
child: const Text('Bejárás')),
|
||||
MenuItemButton(
|
||||
leadingIcon: const Icon(Icons.route),
|
||||
trailingIcon: controller.mode.value == MapSurveyMode.browse
|
||||
trailingIcon: controller.mode.value == MapSurveyMode.track
|
||||
? const Icon(Icons.check)
|
||||
: null,
|
||||
onPressed: () => controller.setMode(MapSurveyMode.browse),
|
||||
child: const Text('Track')),
|
||||
onPressed: () => controller.setMode(MapSurveyMode.track),
|
||||
child: const Text('Útvonal')),
|
||||
],
|
||||
builder: (context, menuController, child) {
|
||||
return InkWell(
|
||||
|
||||
Reference in New Issue
Block a user