Editeur en ligne de thème : https://rxlabz.github.io/panache/#/
Pour basculer d’un theme « normal » au theme « sombre » :
theme: RadioPreferences.isDarkMode? ThemeData.dark() : ThemeData.light(),
Pour internationalisation :
dependencies:
flutter:
sdk: flutter
############### For international
flutter_localizations:
sdk: flutter
localization: ^2.1.0
################# Utilities
shared_preferences: ^2.0.15
fluttertoast: ^8.0.9
######## Theme management
provider: ^6.0.3
Sources : https://app.box.com/s/zrty39oqp0aqnvhinulecbtlzu44u67z