mirror of
https://github.com/theyakka/qr.flutter.git
synced 2025-05-17 20:55:55 +08:00
35 lines
895 B
Dart
35 lines
895 B
Dart
/*
|
|
* QR.Flutter
|
|
* Copyright (c) 2019 the QR.Flutter authors.
|
|
* See LICENSE for distribution and usage details.
|
|
*/
|
|
|
|
import 'package:flutter/material.dart';
|
|
import 'package:flutter/services.dart';
|
|
|
|
import 'main_screen.dart';
|
|
|
|
void main() => runApp(ExampleApp());
|
|
|
|
/// The example application class
|
|
class ExampleApp extends StatelessWidget {
|
|
// This widget is the root of your application.
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
SystemChrome.setSystemUIOverlayStyle(
|
|
const SystemUiOverlayStyle(
|
|
statusBarColor: Colors.white,
|
|
statusBarIconBrightness: Brightness.dark,
|
|
systemNavigationBarColor: Colors.white,
|
|
systemNavigationBarIconBrightness: Brightness.dark,
|
|
),
|
|
);
|
|
return MaterialApp(
|
|
title: 'QR.Flutter',
|
|
theme: ThemeData.light(),
|
|
debugShowCheckedModeBanner: false,
|
|
home: MainScreen(),
|
|
);
|
|
}
|
|
}
|