skip to Main Content

Flutter – How to Fix this Navigation Issue with bottom Navigation Bar

I have created a bottom Navigation Bar using a Container here the code for it import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter/widgets.dart'; import 'package:flutter_svg/flutter_svg.dart'; import 'package:installement1_app/screens/Dashboard.dart'; import 'package:installement1_app/screens/customersScreen.dart'; import 'package:installement1_app/theme/Colors.dart'; class bottomNavBar extends StatefulWidget { const bottomNavBar({super.key}); @override State<bottomNavBar> createState() =>…

VIEW QUESTION

Flutter – Vertical viewport error. Can't fix with even Shrink Wrap or Expanded

This is my code ListView.builder( itemCount: customerList.length, shrinkWrap: true, scrollDirection: Axis.vertical, itemBuilder: (BuildContext context, int index) { return Container( child: Expanded( child: ListTile( title: Text(customerList[index].customerName), subtitle: Column( children: [ Text(customerList[index].customerID), Text(customerList[index].customerAddress), ], ), ), ), ); }), I have Used…

VIEW QUESTION
Back To Top
Search