iT邦幫忙

2019 iT 邦幫忙鐵人賽

DAY 10
0
自我挑戰組

使用flutter建構Android和iOs APP系列 第 10

收合式選單

pages/products.dart

如此gif

  Widget build(BuildContext context) {
    return Scaffold(
      drawer: Drawer(
        //增加收合式選單
        child: Column(
          children: <Widget>[
            AppBar(
              automaticallyImplyLeading: false,
              //有bar但是不要有漢堡圖示
              title: Text('Choose'),
            ),
            ListTile(
              title: Text('Manage Products'),
              //列表
              onTap: () {},
            )
          ],
        ),
      ),
      appBar: AppBar(
        title: Text('EasyList'),
      ),
      body: ProductManager(),
    );
  }

主題來源:
Learn Flutter & Dart to Build iOS & Android Apps


上一篇
按上一頁時,不要刪掉商品
下一篇
頁籤
系列文
使用flutter建構Android和iOs APP25
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言