makePicker method

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

Implementation

Widget makePicker([ThemeData? themeData, bool isModal = false, Key? key]) {

  _maxLevel = adapter.maxLevel;

  adapter.picker = this;

  adapter.initSelects();
  _widget = PickerWidget(

    key: key ?? ValueKey(this),
    // ignore: sort_child_properties_last
    child:
        _PickerWidget(picker: this, themeData: themeData, isModal: isModal),
    data: this,
  );
  return _widget!;
}