How to set Text on center on appbar in flutter?
** Solution:**
centerTitle: true,
How to remove back button on appbar in flutter?-:click here for solution
Before Applying Solution
after applying solution
** Solution:**
automaticallyImplyLeading: false,
How can I make alertDialog disappear automatically after few seconds in Flutter?
** Solution:**
Future.delayed(Duration(seconds: 1), () {
Navigator.of(context).pop(true);
});
Refrence1
How to remove leading and trailing whitespaces
** Solution:**
print(' COCA COLA'.trim()); // Output: 'COCA COLA'
print('COCA COLA '.trim()); // Output: 'COCA COLA'
print(' COCA COLA '.trim()); // Output: 'COCA COLA'
Refrence1
How to upload app in playstore
step 1: change version in pubspec.yaml
change 8.84 to 8.85
step 2: in Terminal run run
flutter pub get
step 3: in Terminal run run
flutter clean
step 4: in Terminal run run
flutter build apk --target-platform android-arm,android-arm64 --split-per-abi
step 4: drag ur projet folder to android studio holidaylandmark, before close ur all project in android studio
below this step not neessary
Latest comments (0)