TogeDropdownButtonWidget constructor

const TogeDropdownButtonWidget(
  1. String text, {
  2. Key? key,
  3. Size minimumSize = const Size(40, 40),
  4. Size maximumSize = const Size(double.infinity, 48),
  5. TogeButtonType type = TogeButtonType.primary,
  6. TogeButtonSize size = TogeButtonSize.large,
  7. TogeButtonTone tone = TogeButtonTone.neutral,
  8. bool isHold = false,
  9. bool isLoading = false,
  10. double? loadingIndicatorSize,
  11. FocusNode? focusNode,
  12. dynamic onPressed()?,
  13. WidgetStatesController? statesController,
  14. IconData? dropdownIcon,
  15. double? dropdownIconSize,
  16. IconData? prefixIcon,
  17. double? prefixIconSpacing,
  18. double? prefixIconSize,
  19. Widget? prefixIconBuilder,
})

Implementation

const TogeDropdownButtonWidget(
  this.text, {
  super.key,
  this.minimumSize = const Size(40, 40),
  this.maximumSize = const Size(double.infinity, 48),
  this.type = TogeButtonType.primary,
  this.size = TogeButtonSize.large,
  this.tone = TogeButtonTone.neutral,
  this.isHold = false,
  this.isLoading = false,
  this.loadingIndicatorSize,
  this.focusNode,
  this.onPressed,
  this.statesController,
  this.dropdownIcon,
  this.dropdownIconSize,
  this.prefixIcon,
  this.prefixIconSpacing,
  this.prefixIconSize,
  this.prefixIconBuilder,
});