showFieldTypeSelectorModal function
Future<FieldType?>
showFieldTypeSelectorModal(
- BuildContext context, {
- Set<
FieldType> ? include, - 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;
}