You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Follks, Is it possible to expand/spread equally the children to use entire available width as depicted below (to achieve the same result as via GridView.extent)?
var wrap = ReorderableWrap( // based on original demo source code
spacing: 8.0,
runSpacing: 4.0,
padding: const EdgeInsets.all(8),
children: _tiles,
onReorder: _onReorder,
onNoReorder: (int index) {
//this callback is optional
debugPrint('${DateTime.now().toString().substring(5, 22)} reorder cancelled. index:$index');
},
onReorderStarted: (int index) {
//this callback is optional
debugPrint('${DateTime.now().toString().substring(5, 22)} reorder started: index:$index');
}
);
Widget wrapGridView = GridView.extent( // this place children as expected however it's of course not reorderable...
crossAxisSpacing: 8,
mainAxisSpacing: 4,
maxCrossAxisExtent: 160,
shrinkWrap: true,
children: _tiles,
);
The text was updated successfully, but these errors were encountered:
Hi Follks, Is it possible to expand/spread equally the children to use entire available width as depicted below (to achieve the same result as via GridView.extent)?
The text was updated successfully, but these errors were encountered: