FlutterWidget constructor Null safety

const FlutterWidget(
  1. {Key? key,
  2. required Widget? widget,
  3. WrappingBuilder<Object>? wrappingBuilder,
  4. WidgetBuilder? emptyBuilder,
  5. void onLinkTap(
    1. Uri
    )?,
  6. Map<String, CustomWidgetBuilder> customWidgets = const {}}
)

Implementation

const FlutterWidget({
  super.key,
  required this.widget,
  this.wrappingBuilder,
  this.emptyBuilder,
  this.onLinkTap,
  this.customWidgets = const {},
})  : request = null,
      json = null,
      httpClient = null,
      formData = null,
      assetPath = null;