Widget.custom constructor Null safety

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

Implementation

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