Router based navigation with flutter bloc

Issue I am trying to build my own router similar to go_router, based on flutter_bloc. What I am trying to achieve is very similar to this guide that inspired the minimal implementation below: import ‘package:flutter/foundation.dart’; import ‘package:flutter/material.dart’; import ‘package:flutter_bloc/flutter_bloc.dart’; void

Continue reading

listview builder moves out of the container bounds when i add content in my list

Issue Container( height: MediaQuery.of(context).size.height * 0.35, width: MediaQuery.of(context).size.height * 0.45, decoration: const BoxDecoration( gradient: LinearGradient( begin: Alignment.topLeft, end: Alignment.bottomRight, colors: [ Colors.black, Colors.brown, ], ), borderRadius: BorderRadius.all(Radius.circular(20)), boxShadow: [ BoxShadow( color: Colors.black26, blurRadius: 5.0, offset: Offset(0, 2), ), ], ),

Continue reading

Flutter FlexibleSpaceBarSettings

Issue I get this problem when I navigate to MangaScreen() page. This page need an image. final FlexibleSpaceBarSettings settings = context.dependOnInheritedWidgetOfExactType<FlexibleSpaceBarSettings>()!; assert( settings != null, ‘A FlexibleSpaceBar must be wrapped in the widget returned by FlexibleSpaceBar.createSettings().’, This is the code

Continue reading