mirror of
https://github.com/hiddify/hiddify-next.git
synced 2026-06-05 21:05:07 +08:00
16 lines
563 B
Dart
16 lines
563 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:flutter/services.dart';
|
|
import 'package:hiddify/bootstrap.dart';
|
|
import 'package:hiddify/core/model/environment.dart';
|
|
|
|
Future<void> main() async {
|
|
final widgetsBinding = WidgetsFlutterBinding.ensureInitialized();
|
|
|
|
SystemChrome.setEnabledSystemUIMode(SystemUiMode.edgeToEdge);
|
|
SystemChrome.setSystemUIOverlayStyle(
|
|
const SystemUiOverlayStyle(statusBarColor: Colors.transparent, systemNavigationBarColor: Colors.transparent),
|
|
);
|
|
|
|
return await lazyBootstrap(widgetsBinding, Environment.prod);
|
|
}
|