TogeDropdownButtonWidget constructor
const
TogeDropdownButtonWidget(
- String text, {
- Key? key,
- Size minimumSize = const Size(40, 40),
- Size maximumSize = const Size(double.infinity, 48),
- TogeButtonType type = TogeButtonType.primary,
- TogeButtonSize size = TogeButtonSize.large,
- TogeButtonTone tone = TogeButtonTone.neutral,
- bool isHold = false,
- bool isLoading = false,
- double? loadingIndicatorSize,
- FocusNode? focusNode,
- dynamic onPressed()?,
- WidgetStatesController? statesController,
- IconData? dropdownIcon,
- double? dropdownIconSize,
- IconData? prefixIcon,
- double? prefixIconSpacing,
- double? prefixIconSize,
- 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,
});