FlutterWidget.network constructor Null safety

const FlutterWidget.network(
  1. {Key? key,
  2. required NetworkHttpRequest? request,
  3. WrappingBuilder<Object>? wrappingBuilder,
  4. WidgetBuilder? emptyBuilder,
  5. void onLinkTap(
    1. Uri
    )?,
  6. Map<String, CustomWidgetBuilder> customWidgets = const {},
  7. String? assetPath,
  8. Client? httpClient,
  9. FormData? formData}
)

Implementation

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