PropertySheet.fromMap constructor

PropertySheet.fromMap(
  1. Map<String, dynamic> values, {
  2. String title = '',
  3. PropertySheetController? controller,
})

Implementation

factory PropertySheet.fromMap(Map<String, dynamic> values,
    {String title = '', PropertySheetController? controller}) {
  if (controller == null) {
    controller = PropertySheetController();
    controller._values = values;
  }
  return PropertySheet(
    title: title,
    controller: controller,
  );
}