chore: lib/main.dart — entry point avec environnement configuré
This commit is contained in:
@@ -39,15 +39,13 @@ Future<void> _configureApp() async {
|
|||||||
DeviceOrientation.portraitUp,
|
DeviceOrientation.portraitUp,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
// Configuration de la barre de statut - Mode immersif
|
// Configuration de la barre de statut - Mode immersif edge-to-edge
|
||||||
|
// Les icônes s'adaptent automatiquement via AppBarTheme.systemOverlayStyle dans chaque thème
|
||||||
SystemChrome.setSystemUIOverlayStyle(
|
SystemChrome.setSystemUIOverlayStyle(
|
||||||
const SystemUiOverlayStyle(
|
const SystemUiOverlayStyle(
|
||||||
statusBarColor: Colors.transparent, // Transparent pour mode immersif
|
statusBarColor: Colors.transparent,
|
||||||
statusBarIconBrightness: Brightness.dark, // Icônes sombres sur fond clair
|
systemNavigationBarColor: Colors.transparent, // Transparent pour edge-to-edge
|
||||||
statusBarBrightness: Brightness.light, // Pour iOS
|
systemNavigationBarDividerColor: Colors.transparent,
|
||||||
systemNavigationBarColor: Colors.white, // Barre de navigation blanche
|
|
||||||
systemNavigationBarIconBrightness: Brightness.dark, // Icônes sombres
|
|
||||||
systemNavigationBarDividerColor: Colors.transparent, // Pas de séparateur
|
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user