refactor about page

hmxc
小赖 4 years ago
parent 56fb7ef49b
commit 377700aa48

@ -21,13 +21,8 @@ class AboutPage extends StatelessWidget {
return BeeScaffold( return BeeScaffold(
title: '关于小蜜蜂智慧社区', title: '关于小蜜蜂智慧社区',
body: Container( body: ListView(
color: Colors.white, padding: EdgeInsets.all(32.w),
padding: EdgeInsets.only(
top: 72.w,
left: 36.w,
right: 35.w),
child: ListView(
children: [ children: [
Text( Text(
aboutText, aboutText,
@ -40,7 +35,6 @@ class AboutPage extends StatelessWidget {
), ),
], ],
), ),
),
); );
} }
} }

@ -120,10 +120,11 @@ class _SettingsPageState extends State<SettingsPage> {
title: '关于小蜜蜂智慧社区', title: '关于小蜜蜂智慧社区',
onTap: () => AboutPage().to(), onTap: () => AboutPage().to(),
), ),
_buildTile( //TODO
title: '邀请注册', // _buildTile(
onTap: () => InvitePage().to(), // title: '邀请注册',
), // onTap: () => InvitePage().to(),
// ),
].sepWidget( ].sepWidget(
separate: Divider( separate: Divider(
indent: 32.w, indent: 32.w,

Loading…
Cancel
Save