Answers for "flutter tabbarview in customscrollview"

0

flutter tabbarview in customscrollview

@override
          Widget build(BuildContext context) {
            return DefaultTabController(
              length: 3,
              child: Container(
                  child: CustomScrollView(slivers: <Widget>[
                SliverAppBar(),
                new SliverFillRemaining(
                  child: TabBarView(
                    children: <Widget>[
                      Text("Tab 1"),
                      Text("Tab 2"),
                      Text("Tab 3"),
                    ],
                  ),
                ),
              ])),
            );
          }
Posted by: Guest on March-23-2021

Code answers related to "flutter tabbarview in customscrollview"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language