t
Size: a a a
t
t
t
Z
t
Z
ДЩ
ДЩ
Z
V
V
Scaffold(
backgroundColor: Colors.white,
body: NestedScrollView(
controller: controller,
headerSliverBuilder: (BuildContext context, bool innerBoxIsScrolled) {
return <Widget>[
new SliverAppBar(
backgroundColor: Colors.white,
centerTitle: true,
title: Image.asset('assets/images/logo.png',
height: 40, fit: BoxFit.cover),
pinned: true,
floating: true,
forceElevated: innerBoxIsScrolled,
bottom: new TabBar(
labelColor: Color(0xFF222222),
indicatorColor: Color(0xFF222222),
indicatorWeight: 2.0,
tabs: <Tab>[
new Tab(text: "СКИДКИ"),
new Tab(text: "КАТАЛОГ"),
],
),
),
];
},
body: TabBarView(
children: [
Icon(Icons.directions_car),
Column(
mainAxisAlignment: MainAxisAlignment.start,
children: [
Flexible(
flex: 1,
child: CategoryView(),
),
Flexible(flex: 13, child: CatalogView(controller)),
],
),
],
),
)
t
Z
t
Z
t
Z
t
T
Z