assumeWidget function
Implementation
Widget? assumeWidget(BuildContext context, dynamic item) {
assert(item is Widget?, 'Item must be a widget!');
return item as Widget?;
}
Widget? assumeWidget(BuildContext context, dynamic item) {
assert(item is Widget?, 'Item must be a widget!');
return item as Widget?;
}