OptionalBuilder function
List<Widget>
OptionalBuilder(
- BuildContext context, {
- WidgetBuilder? mobile,
- WidgetBuilder? tablet,
- WidgetBuilder? desktop,
- WidgetListBuilder? desktops,
Does runtime analysis to determine whether to build any of the provided widgets.
Implementation
List<Widget> OptionalBuilder(
BuildContext context, {
WidgetBuilder? mobile,
WidgetBuilder? tablet,
WidgetBuilder? desktop,
WidgetListBuilder? desktops,
}) =>
ResponsiveList<Widget>(
context,
mobile: mobile,
desktop: desktop,
tablet: tablet,
desktops: desktops,
);