图片更新

hmxc
张萌 4 years ago
parent 28fd8af662
commit 54cc03097f

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

@ -25,7 +25,7 @@ class HomePage extends StatefulWidget {
class _HomePageState extends State<HomePage> {
//bar
Widget _menuButton(IconData iconData, String text, Widget page) {
Widget _menuButton(String path, String text, Widget page) {
return Expanded(
child: AkuButton(
radius: 8.w,
@ -36,9 +36,10 @@ class _HomePageState extends State<HomePage> {
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Icon(
iconData,
size: 75.w,
Image.asset(
path,
width: 75.w,
height: 75.w,
),
SizedBox(height: 8.w),
Text(
@ -275,11 +276,14 @@ class _HomePageState extends State<HomePage> {
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
children: [
_menuButton(Icons.wysiwyg, '一键报警', HomePage()),
_menuButton(Icons.work, '访客管理', HomePage()),
_menuButton(Icons.accessibility, '报事报修', HomePage()),
_menuButton(
Icons.account_balance, '全部应用', ApplicationPage()),
R.ASSETS_HOME_IC_POLICE_PNG, '一键报警', HomePage()),
_menuButton(
R.ASSETS_HOME_IC_VISITORS_PNG, '访客管理', HomePage()),
_menuButton(
R.ASSETS_HOME_IC_SERVICE_PNG, '报事报修', HomePage()),
_menuButton(
R.ASSETS_HOME_IC_ALL_PNG, '全部应用', ApplicationPage()),
],
),
),

Loading…
Cancel
Save