Dropinity<FullResponse, Model> constructor

const Dropinity<FullResponse, Model>({
  1. Key? key,
  2. Curve curve = Curves.linear,
  3. Color listBackgroundColor = Colors.white,
  4. Widget? dropdownTitle,
  5. TextFieldData<Model>? textFieldData,
  6. double? listHeight,
  7. required DropinityController controller,
  8. required ButtonData<Model> buttonData,
  9. required List<Model>? values,
  10. required ValuesData<Model>? valuesData,
  11. required FutureOr<void> onChanged(
    1. Model val
    ),
})

normal constructor for local dropdown

Implementation

const Dropinity({
  super.key,
  this.curve = Curves.linear,
  this.listBackgroundColor = Colors.white,
  this.dropdownTitle,
  this.textFieldData,
  this.listHeight,
  required this.controller,
  required this.buttonData,
  required this.values,
  required this.valuesData,
  required this.onChanged
}) : pagifyData = null,
      _dropdownType = DropdownType.none;