Dimibe/sticky_grouped_list

It is not possible to wrap a column in the Widget StickyGroupedListView.

Closed this issue · 2 comments

I tried to wrap StickyGroupedListView with Column... but it didnt work.

I solve the problem by wrapping StickyGroupedListView with Flexible. Column( children: [ Text('Here'), Flexible( child: StickyGroupedListView<SinoElemento, DateTime>(

@rdurelli seems like you found a solution yourself. Another option is to use the Expanded-Widget instead of the Flexible-Widget.

 Column(
   children: <Widget>[
     Expanded(
       child: StickyGroupedListView<dynamic, String>(),
      ),
    ],
  },