makePicker method

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

生成picker控件

Build picker control

Implementation

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