TolySelect constructor
const
TolySelect({
- Key? key,
- List<
String> data = const [], - required int selectIndex,
- required ValueChanged<
int> onSelected, - Color disableColor = const Color(0xffcccccc),
- double iconSize = 24,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? labelPadding,
- DropMenuCellStyle? cellStyle,
- double height = 30,
- double width = 200,
- double minWidth = 120,
- double fontSize = 14,
- double? maxHeight,
- bool shrinkWrapWidthOverlay = false,
- bool shrinkWidth = false,
- MenuMetaBuilder? contentBuilder,
Implementation
const TolySelect({
super.key,
this.data = const [],
required this.selectIndex,
required this.onSelected,
this.disableColor = const Color(0xffcccccc),
this.iconSize = 24,
this.padding,
this.labelPadding,
this.cellStyle,
this.height = 30,
this.width = 200,
this.minWidth = 120,
this.fontSize = 14,
this.maxHeight,
this.shrinkWrapWidthOverlay = false,
this.shrinkWidth = false,
this.contentBuilder,
});