Widget.custom constructor Null safety
Implementation
const factory Widget.custom({
Key? key,
required String type,
Map<String, Object?>? properties,
}) = CustomWidget;
const factory Widget.custom({
Key? key,
required String type,
Map<String, Object?>? properties,
}) = CustomWidget;