Widget.platform constructor Null safety
- {Key? key,
- Widget? child,
- @Default({}) Map<
TargetPlatform, Widget> targets}
Implementation
const factory Widget.platform({
Key? key,
Widget? child,
@Default({}) Map<TargetPlatform, Widget> targets,
}) = PlatformWidget;