showFieldTypeSelectorModal function

Future<FieldType?> showFieldTypeSelectorModal(
  1. BuildContext context, {
  2. Set<FieldType>? include,
  3. Set<FieldType>? exclude,
})

Implementation

Future<FieldType?> showFieldTypeSelectorModal(
  BuildContext context, {
  Set<FieldType>? include,
  Set<FieldType>? exclude,
}) async {
  final FieldType? result = await showDialog(
    barrierDismissible: false,
    context: context,
    builder: (BuildContext context) => FieldTypeSelectorModal(
      include: include,
      exclude: exclude,
    ),
  );
  return result;
}