AdaptiveBuilder constructor

const AdaptiveBuilder({
  1. Key? key,
  2. required AdaptiveWidgetBuilder defaultBuilder,
  3. AdaptiveLayoutDelegate? layoutDelegate,
  4. @Deprecated('Use `AdaptiveBuilder.custom` counstructor instead. Will be removed in v1.0.0') AdaptiveLayoutDelegate? androidDelegate,
  5. @Deprecated('Use `AdaptiveBuilder.custom` counstructor instead. Will be removed in v1.0.0') AdaptiveLayoutDelegate? fuchsiaDelegate,
  6. @Deprecated('Use `AdaptiveBuilder.custom` counstructor instead. Will be removed in v1.0.0') AdaptiveLayoutDelegate? iosDelegate,
  7. @Deprecated('Use `AdaptiveBuilder.custom` counstructor instead. Will be removed in v1.0.0') AdaptiveLayoutDelegate? windowsDelegate,
  8. @Deprecated('Use `AdaptiveBuilder.custom` counstructor instead. Will be removed in v1.0.0') AdaptiveLayoutDelegate? macosDelegate,
  9. @Deprecated('Use `AdaptiveBuilder.custom` counstructor instead. Will be removed in v1.0.0') AdaptiveLayoutDelegate? linuxDelegate,
  10. @Deprecated('Use `AdaptiveBuilder.custom` counstructor instead. Will be removed in v1.0.0') AdaptiveLayoutDelegate? webDelegate,
  11. @Deprecated('Use `layoutDelegate` instead. Will be removed in v1.0.0') AdaptiveLayoutDelegate? allPlatformsDelegate,
  12. BreakpointData? breakpointData,
})

Implementation

const AdaptiveBuilder({
  Key? key,
  required this.defaultBuilder,
  AdaptiveLayoutDelegate? layoutDelegate,
  @Deprecated('Use `AdaptiveBuilder.custom` counstructor instead. Will be removed in v1.0.0')
      this.androidDelegate,
  @Deprecated('Use `AdaptiveBuilder.custom` counstructor instead. Will be removed in v1.0.0')
      this.fuchsiaDelegate,
  @Deprecated('Use `AdaptiveBuilder.custom` counstructor instead. Will be removed in v1.0.0')
      this.iosDelegate,
  @Deprecated('Use `AdaptiveBuilder.custom` counstructor instead. Will be removed in v1.0.0')
      this.windowsDelegate,
  @Deprecated('Use `AdaptiveBuilder.custom` counstructor instead. Will be removed in v1.0.0')
      this.macosDelegate,
  @Deprecated('Use `AdaptiveBuilder.custom` counstructor instead. Will be removed in v1.0.0')
      this.linuxDelegate,
  @Deprecated('Use `AdaptiveBuilder.custom` counstructor instead. Will be removed in v1.0.0')
      this.webDelegate,
  @Deprecated('Use `layoutDelegate` instead. Will be removed in v1.0.0')
      AdaptiveLayoutDelegate? allPlatformsDelegate,
  this.breakpointData,
})  : allPlatformsDelegate = layoutDelegate ?? allPlatformsDelegate,
      super(key: key);