skip to Main Content

Flutter – Exception caught by widgets library :Incorrect use of ParentDataWidget

this is my code class _AdminLoginScreenState extends State<AdminLoginScreen> { var _formkey = GlobalKey<FormState>(); var emailController = TextEditingController(); var passwordController = TextEditingController(); @override Widget build(BuildContext context) { return Scaffold( backgroundColor: Color(0XFFE4C9E5), body: SafeArea( child: CustomScrollView( slivers: [ SliverFillRemaining( hasScrollBody: false, child:…

VIEW QUESTION

Flutter – How to add Navigator to bottomNavigationBar?

With the current code, on click of back button, the app exits instead of moving to the previous page. import 'package:curved_navigation_bar/curved_navigation_bar.dart'; class homeNav extends StatefulWidget { const homeNav({super.key}); @override State<homeNav> createState() => _homeNavState(); } class _homeNavState extends State<homeNav> { int…

VIEW QUESTION
Back To Top
Search