skip to Main Content

Flutter – My slider have value well changed , but cant move it , or cant display changes

@override Widget build(BuildContext context) { double currentSliderValue = 100.0; return Scaffold( appBar: AppBar( backgroundColor: Theme.of(context).colorScheme.inversePrimary, title: Text(widget.title), ), body: Slider( value: currentSliderValue, onChanged: (double value) { setState(() { currentSliderValue = value; }); }, label: '$currentSliderValue', ), ), ); } }…

VIEW QUESTION

how remove innerpadding of textbutton flutter?

How to remove internal spacing from a text button in flutter? enter image description here Remove the internal spacing of the button TextButton( style: ButtonStyle( padding: MaterialStateProperty.all<EdgeInsetsGeometry>( EdgeInsets.zero), tapTargetSize: MaterialTapTargetSize.shrinkWrap ), onPressed: () {}, child: Container( width: 50, height: 50,…

VIEW QUESTION

Flutter – FAILURE: Build failed with an exception. * What went wrong: // Execution failed for task ':app:mergeExtDexDebug',

When try to run the flutter dart program on physical device mobile at that time below error will show sometimes in Android Studio terminal : Note: C:UsersAdministratorAppDataLocalPubCachehostedpub.devcloud_firestore-4.14.0androidsrcmainjavaioflutterpluginsfirebasefirestoreFlutterFirebaseFirestorePlugin.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note:…

VIEW QUESTION
Back To Top
Search