CustomWidget constructor Null safety

const CustomWidget(
  1. {Key? key,
  2. required String type,
  3. Map<String, Object?>? properties}
)

Implementation

const factory CustomWidget(
    {final Key? key,
    required final String type,
    final Map<String, Object?>? properties}) = _$CustomWidget;