SliverAppBar( title: Text(''), leading:null, automaticallyImplyLeading: false, expandedHeight: 250, backgroundColor: Colors.white, flexibleSpace: FlexibleSpaceBar( background: Container( height: 200.h, color: Colors.white, margin: EdgeInsets.only(top: 20.h,left: 20.w,right: 20.w), child: Column( mainAxisAlignment:MainAxisAlignment.start, children: [ Container( child: Row( mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ Image.asset(ImageRes.appMock, width: 40.w, height: 40.w), SizedBox(width: 20.w), Text('客户无忧', style: PageStyle.ts_1A1A1A_14sp), SizedBox(width: 10.w), Container( height: 14.h, padding: EdgeInsets.only(left: 10.w, right: 10.w), alignment: Alignment.center,
Flutter中的SliverAppBar
于 2023-08-01 15:43:54 首次发布