📜  flutter sliverAppBar - 任何代码示例

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

代码示例2
SliverAppBar(
            backgroundColor: Colors.blue.withOpacity(0.7),
            leading: Icon(Icons.menu),
            actions: [
              
              Icon(Icons.notifications),
              Icon(Icons.search),
              
              ],
            pinned: true,
           
          
            expandedHeight: 200,
            floating: true,
            flexibleSpace: FlexibleSpaceBar(
              
              title: Text('Flutter Sliver'),
                centerTitle: true,
                background: Image(image: NetworkImage('https://pfps.gg/assets/banners/2547-illusion-gif.gif'), fit: BoxFit.cover,),

              ),
              
            ),