PlatformBuilder constructor Null safety

PlatformBuilder(
  1. {Key? key,
  2. WidgetBuilder? android,
  3. WidgetBuilder? ios,
  4. WidgetBuilder? linux,
  5. WidgetBuilder? macOS,
  6. WidgetBuilder? fallback,
  7. WidgetBuilder? windows,
  8. WidgetBuilder? web}
)

Implementation

PlatformBuilder({
  Key? key,
  WidgetBuilder? android,
  WidgetBuilder? ios,
  WidgetBuilder? linux,
  WidgetBuilder? macOS,
  WidgetBuilder? fallback,
  WidgetBuilder? windows,
  WidgetBuilder? web,
}) : super(key: key) {
  _builder = PlatformValue<WidgetBuilder>(
    android: android,
    fallback: fallback,
    ios: ios,
    linux: linux,
    macOS: macOS,
    web: web,
    windows: windows,
  );
}