Flutter RenderObject assertion failure

Issue I am having the following error : ======== Exception caught by scheduler library ===================================================== The following assertion was thrown during a scheduler callback: Updated layout information required for RenderIndexedSemantics#f51aa NEEDS-LAYOUT to calculate semantics. ‘package:flutter/src/rendering/object.dart’: Failed assertion: line 2658 pos

Continue reading

Flutter RenderObject assertion failure

Issue I am having the following error : ======== Exception caught by scheduler library ===================================================== The following assertion was thrown during a scheduler callback: Updated layout information required for RenderIndexedSemantics#f51aa NEEDS-LAYOUT to calculate semantics. ‘package:flutter/src/rendering/object.dart’: Failed assertion: line 2658 pos

Continue reading

Flutter SliverPersistentHeader is causing "bottom overflow when scroll"

Issue i have a SliverPersistentHeader that causes bottom overflowed when user scrolls the screen. How can i fix it? return CustomScrollView( slivers: <Widget>[ SliverPersistentHeader( pinned: false, delegate: DynamicSliverHeaderDelegate( maxHeight: 256, minHeight: 186, child: Column( mainAxisAlignment: MainAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start, children: <Widget>[

Continue reading

ListView inside ExpansionTile doesn't work

Issue listview is not working inside ExpansionTile i have tried to show a listview.builder inside ExpansionTile but it throws some exceptions Card( child: ExpansionTile( leading: Icon( Icons.stars, color: Colors.pinkAccent, ), title: Text(‘Reviews’, style: Theme.of(context).textTheme.title, ), children: [ ListView.builder( itemCount: 5,

Continue reading