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 readingTag: flutter-exception
Flutter: how to build a custom toolbar for Selectable Text~
Issue I’m building a ChatApp, and I need a feature that can allow user to select text from the widget, and also show some of my custom actions, such as Deleting that message, Share etc. And I found that the
Continue readinglistview 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 readingFlutter 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 readingI'm creating and validating a dynamic form in Flutter, but when I change the page and return to the previous page I get an error. how can i solve
Issue It works in release mode but I get an error in debug mode class UrunHizmetWidget extends StatefulWidget { int index; final state = _UrunHizmetWidgetState(); UrunHizmetWidget({Key? key, this.index = 0}) : super(key: key); @override State<UrunHizmetWidget> createState() => state; bool isvalid()
Continue readingFlutter "Incorrect use of ParentDataWidget." when using Staggered Grid View~ @_@
Issue @_@ I was thinking to make the widgets inside the GridView to have a different height according to their dynamic content height, and those widgets are Containers with an Expanded Column inside. But it then gave me this error
Continue readingFlutter “RenderFlex children have non-zero flex but incoming height constraints are unbounded.” when using Staggered Grid View~ @_@
Issue @_@ I was thinking to make the widgets inside the GridView to have a different height according to their dynamic content height. The widget looks like this: Container( decoration: BoxDecoration( color: someColor, borderRadius: BorderRadius.circular(17), ), child: Column( children: [
Continue readingException caught by gesture The following NoSuchMethodError was thrown while handling a gesture
Issue i’m newbie with flutter i’m trying to add product to cart but when i click to add button it shown that collection method is called on null the function i’m using to add the product to the user cart
Continue readingFlutter: Flutter Video Player cannot play a video file TWICE [Video controller cannot be used after disposed]~
Issue I’m using Official Flutter Video Player Package for my flutter app, but the displayer is totally black and I also got this error while displaying it on the screen: E/flutter (10774): [ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: A VideoPlayerController was used after
Continue readingFlutter: Flutter Video Player cannot play a video file TWICE [Video controller cannot be used after disposed]~
Issue I’m using Official Flutter Video Player Package for my flutter app, but the displayer is totally black and I also got this error while displaying it on the screen: E/flutter (10774): [ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: A VideoPlayerController was used after
Continue reading