update for Getx Error

This commit is contained in:
2022-07-16 00:08:00 +05:30
parent 560d6ee08a
commit c7e6121f00
3 changed files with 6 additions and 5 deletions

View File

@ -87,10 +87,10 @@ class _DestinationPageState extends State<DestinationPage> {
),
floatingActionButtonLocation: FloatingActionButtonLocation.centerDocked,
appBar:AppBar(
automaticallyImplyLeading: false,
automaticallyImplyLeading: true,
title: Text("app_title".tr),
actions: [
Obx(() =>
//Obx(() =>
ToggleButtons(
disabledColor: Colors.grey.shade200,
selectedColor: Colors.red,
@ -104,7 +104,7 @@ class _DestinationPageState extends State<DestinationPage> {
},
isSelected: destinationController.isSelected,
),
),
//),
// IconButton(onPressed: (){
// showCurrentPosition();
// },