FlutterWidget.asset constructor Null safety
- {Key? key,
- required String? assetPath,
- WrappingBuilder<
Object> ? wrappingBuilder, - WidgetBuilder? emptyBuilder,
- void onLinkTap( )?,
- Map<
String, CustomWidgetBuilder> customWidgets = const {}}
Implementation
const FlutterWidget.asset({
super.key,
required this.assetPath,
this.wrappingBuilder,
this.emptyBuilder,
this.onLinkTap,
this.customWidgets = const {},
}) : widget = null,
json = null,
httpClient = null,
formData = null,
request = null;