📜  颤振将高度添加到应用栏 - Dart 代码示例

📅  最后修改于: 2022-03-11 14:48:06.247000             🧑  作者: Mango

代码示例2
appBar: PreferredSize(
  preferredSize: Size.fromHeight(200.0),
  child: AppBar(
    automaticallyImplyLeading: false,
    flexibleSpace:  Image(
              image: AssetImage('assets/images/banner_image.jpg'),
              fit: BoxFit.cover,
            ),
            backgroundColor: Colors.transparent,
  )
),