wrapContent function
Widget
wrapContent(
- BuildContext context,
- Widget child,
- Widget wrapper(
- BuildContext context,
- Widget child
Implementation
Widget wrapContent(
BuildContext context,
Widget child,
Widget Function(BuildContext context, Widget child)? wrapper,
) {
if (wrapper == null) return child;
return wrapper(context, child);
}