Skip to content

Commit

Permalink
fix: simplify example app
Browse files Browse the repository at this point in the history
  • Loading branch information
maelchiotti committed Dec 15, 2024
1 parent aa6b61c commit 7378393
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,20 +1,7 @@
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:settings_tiles/settings_tiles.dart';

void main() {
WidgetsFlutterBinding.ensureInitialized();

// Display the application behind the system's notifications bar and navigation bar
// See https://github.com/flutter/flutter/issues/40974
// See https://github.com/flutter/flutter/issues/34678
SystemChrome.setEnabledSystemUIMode(SystemUiMode.edgeToEdge);
SystemChrome.setSystemUIOverlayStyle(
const SystemUiOverlayStyle(
systemNavigationBarColor: Colors.transparent,
),
);

runApp(const MyApp());
}

Expand Down

0 comments on commit 7378393

Please sign in to comment.