添加关于我们页面

hmxc
张萌 4 years ago
parent 4a2158d48c
commit 649aec297e

@ -0,0 +1,37 @@
import 'package:aku_community_manager/ui/widgets/common/aku_scaffold.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
class AboutPage extends StatelessWidget {
const AboutPage({Key key}) : super(key: key);
@override
Widget build(BuildContext context) {
const aboutText =
'''“小蜜蜂社区管家端”APP是为全国社区业主量身定做本产品融合了基础物业服务园区生活服务周边商圈服务和邻里社交服务的一站式园区生活服务平台。该平台可提供超过30种的线上服务其中包括维修、意见建议、投诉表扬物业缴费、访客通行、粮油宅配、团购商城等并可通过支付宝、微信支付来未完成线上支付真正打造了智慧园区O2O平台为广大业主打造更安全、更便捷、更和睦的幸福园区。''';
TextStyle _style = TextStyle(
fontSize: 32.sp,
color: Color(0xff575757),
);
return AkuScaffold(
title: '关于小蜜蜂智慧社区管家端',
body: ListView(
padding: EdgeInsets.all(32.w),
children: [
Text(
aboutText,
style: _style,
),
SizedBox(height: 100.w),
Text(
'”小蜜蜂智慧社区”APP——幸福生活简单到达',
style: _style,
),
],
),
);
}
}

@ -1,4 +1,5 @@
// Flutter imports: // Flutter imports:
import 'package:aku_community_manager/ui/agreements/about_page.dart';
import 'package:flutter/cupertino.dart'; import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
@ -55,6 +56,9 @@ class _SettingsPageState extends State<SettingsPage> {
AkuTile( AkuTile(
title: Text('关于我们'), title: Text('关于我们'),
arrow: true, arrow: true,
onTap: () {
Get.to(() => AboutPage());
},
), ),
Divider(height: 1.w), Divider(height: 1.w),
AkuTile( AkuTile(

Loading…
Cancel
Save