picker<T extends Object> static method
Implementation
static Widget picker<T extends Object>(
{required String name,
String? description,
required Widget Function(BuildContext, T) builder,
required Map<T, String> options,
required T defaultValue,
T? Function(Object)? fromJson,
Key? key}) =>
_PickerWidget<T>(
name: name,
description: description,
builder: builder,
options: options,
defaultValue: defaultValue,
fromJson: fromJson,
key: key);