Posts by LOfG • 151 points
2 posts
-
0
votes1
answer167
viewsA: pageView with a bottomNavigationBar = error
At the index line you need to check if the page is null: BottomNavigationBar( currentIndex: controller.page?.round() ?? 0, ...
-
2
votes1
answer74
viewsA: How to multiply Widgets in a list?
For this you can use Listview.Builder: body: Container( color: Colors.black, child: ListView.builder( itemCount: 10, //número de vezes que você deseja replicar o widget itemBuilder: (context,…