1234567891011121314151617181920212223242526272829303132333435 |
- /*
- * QR.Flutter
- * Copyright (c) 2019 the QR.Flutter authors.
- * See LICENSE for distribution and usage details.
- */
- import 'package:fis_lib_qrtest/qrcode_withlogo.dart';
- import 'package:flutter/material.dart';
- import 'package:flutter/services.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(SystemUiOverlayStyle(
- statusBarColor: Colors.white,
- statusBarIconBrightness: Brightness.dark,
- systemNavigationBarColor: Colors.white,
- systemNavigationBarIconBrightness: Brightness.dark,
- ));
- return MaterialApp(
- title: 'QR.Flutter',
- theme: ThemeData.light(),
- debugShowCheckedModeBanner: false,
- home: QRCodeWithLogo(
- "https://www.baidu.com/",
- codeStatement: "二维码说明",
- operationStatement: "复制链接",
- ),
- );
- }
- }
|