PlatformWidget constructor Null safety

const PlatformWidget(
  1. {Key? key,
  2. Widget? child,
  3. Map<TargetPlatform, Widget> targets}
)

Implementation

const factory PlatformWidget(
    {final Key? key,
    final Widget? child,
    final Map<TargetPlatform, Widget> targets}) = _$PlatformWidget;