forked from lxm_flutter/FlutterUnit
32 lines
1015 B
Dart
32 lines
1015 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
/// create by 张风捷特烈 on 2020-03-25
|
|
/// contact me by email 1981462002@qq.com
|
|
/// 说明:
|
|
// {
|
|
// "widgetId": 145,
|
|
// "name": 'LicensePage基本使用',
|
|
// "priority": 1,
|
|
// "subtitle": "【applicationIcon】 : 左上图标 【Widget】\n"
|
|
// "【applicationVersion】 : 版本号 【String】\n"
|
|
// "【applicationName】 : 应用名 【String】\n"
|
|
// "【applicationLegalese】 : 应用律术 【String】",
|
|
// }
|
|
class CustomLicensePage extends StatelessWidget {
|
|
const CustomLicensePage({Key? key}) : super(key: key);
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return SizedBox(
|
|
width: MediaQuery.of(context).size.width,
|
|
height: 400,
|
|
child: const LicensePage(
|
|
applicationIcon: FlutterLogo(),
|
|
applicationVersion: 'v0.0.1',
|
|
applicationName: 'Flutter Unit',
|
|
applicationLegalese: 'Copyright© 2018-2020 张风捷特烈',
|
|
),
|
|
);
|
|
}
|
|
}
|