FormCast.picker constructor
FormCast.picker({
- required List options,
- BottomModalSheetStyle? bottomModalSheetStyle,
Cast to a picker
Implementation
FormCast.picker({
required List<dynamic> options,
BottomModalSheetStyle? bottomModalSheetStyle,
}) {
type = "picker";
metaData = {};
metaData['options'] = options;
// BottomModalSheetStyle
metaData['bm_backgroundColor'] = bottomModalSheetStyle?.backgroundColor;
metaData['bm_barrierColor'] = bottomModalSheetStyle?.barrierColor;
metaData['bm_useRootNavigator'] = bottomModalSheetStyle?.useRootNavigator;
metaData['bm_routeSettings'] = bottomModalSheetStyle?.routeSettings;
metaData['bm_titleTextStyle'] = bottomModalSheetStyle?.titleStyle;
metaData['bm_itemStyle'] = bottomModalSheetStyle?.itemStyle;
metaData['bm_clearButtonStyle'] = bottomModalSheetStyle?.clearButtonStyle;
}