makePicker method

Widget makePicker([
  1. ThemeData? themeData,
  2. bool isModal = false,
  3. Key? key
])

生成picker控件

Build picker control

Implementation

Widget makePicker([ThemeData? themeData, bool isModal = false, Key? key]) {
  _maxLevel = adapter.maxLevel;
  adapter.picker = this;
  adapter.initSelects();
  _widget = PickerWidget(
    key: key ?? ValueKey(this),
    child:
        _PickerWidget(picker: this, themeData: themeData, isModal: isModal),
    data: this,
  );
  return _widget!;
}