Issue Here’s widget.dart Widget wallpapersList({required List<WallpaperModel> wallpapers, context}) { return Container( padding: EdgeInsets.symmetric(horizontal: 16), child: GridView.count( shrinkWrap: true, physics: ClampingScrollPhysics(), crossAxisCount: 2, childAspectRatio: 0.6, mainAxisSpacing: 6.0, crossAxisSpacing: 6.0, children: wallpapers.map((wallpaper) { return GridTile( child: GestureDetector( onTap: () { print(wallpaper.src!.portrait); //
Continue readingTag: flutter-navigation
Refresh or rebuild screen in flutter
Issue I have 3 widgets as screens in my homepage. In homepage i have bottom navigation bar to navigate between these. When I active TextFormField in page one, go to screen two and return to page one TextFormField is still
Continue readingHow to implement figma's smart animate option in flutter?
Issue I designed three onboarding pages in figma which contains information about my app, while wireframing the app, I added smart animate to the three pagesThis is the first onboarding page The second one The third one The smart animate
Continue readingHow to redirect to the next page without pressing a button with flutter?
Issue I want to move to the next page without clicking on button with flutter. Juste after changing the value of a button, I have to redirect to the next page after some delay without any self interaction. this is
Continue readingNavigating to screen on button click but it is navigating without the button press
Issue import ‘package:flutter/material.dart’; import ‘./home.dart’; class Question extends StatelessWidget { Question({super.key}); TextEditingController durationController = TextEditingController(); TextEditingController lengthController = TextEditingController(); @override Widget build(BuildContext context) { return Container( margin: const EdgeInsets.only(top: 80), child: Column( children: <Widget>[ Container( margin: const EdgeInsets.only(top: 30, right:
Continue readingNavigation to sub page(nasted Navigation)
Issue I love to design an app with features like the ones in this Gif 1-Bottom Navigation bar exists on every page(done) 2-pressing on the icon change only part of the page My Main to move between pages import ‘package:flutter/material.dart’;
Continue readingWillPopScope indiscriminately blocking all navigation, whether onWillPop returns true or false
Issue I’m building a login screen. On that screen, I have a "login" button. After this button is pressed, my app connects to the internet in order to check if the user can be logged in. I want navigating backwards
Continue readingFlutter image assets not loading after redirect with go_router & login
Issue I have a small Flutter app with 2 screens (/login & /home) and I use go_router to navigate and animated_login. The assets are placed on the home screen and they load fine if I directly access the screen, so
Continue readingFlutter image assets not loading after redirect with go_router & login
Issue I have a small Flutter app with 2 screens (/login & /home) and I use go_router to navigate and animated_login. The assets are placed on the home screen and they load fine if I directly access the screen, so
Continue readingFlutter remove all routes using auto_route
Issue In case of error, I want to redirect my users to the same flow again (in order to reset the flow state). I’m using the auto_route package for navigation, and I can see that router.replace and router.replaceAll do not
Continue reading