AdaptiveBuilder constructor
const
AdaptiveBuilder({
- Key? key,
- required AdaptiveWidgetBuilder defaultBuilder,
- AdaptiveLayoutDelegate? layoutDelegate,
- @Deprecated('Use `AdaptiveBuilder.custom` counstructor instead. Will be removed in v1.0.0') AdaptiveLayoutDelegate? androidDelegate,
- @Deprecated('Use `AdaptiveBuilder.custom` counstructor instead. Will be removed in v1.0.0') AdaptiveLayoutDelegate? fuchsiaDelegate,
- @Deprecated('Use `AdaptiveBuilder.custom` counstructor instead. Will be removed in v1.0.0') AdaptiveLayoutDelegate? iosDelegate,
- @Deprecated('Use `AdaptiveBuilder.custom` counstructor instead. Will be removed in v1.0.0') AdaptiveLayoutDelegate? windowsDelegate,
- @Deprecated('Use `AdaptiveBuilder.custom` counstructor instead. Will be removed in v1.0.0') AdaptiveLayoutDelegate? macosDelegate,
- @Deprecated('Use `AdaptiveBuilder.custom` counstructor instead. Will be removed in v1.0.0') AdaptiveLayoutDelegate? linuxDelegate,
- @Deprecated('Use `AdaptiveBuilder.custom` counstructor instead. Will be removed in v1.0.0') AdaptiveLayoutDelegate? webDelegate,
- @Deprecated('Use `layoutDelegate` instead. Will be removed in v1.0.0') AdaptiveLayoutDelegate? allPlatformsDelegate,
- 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);