SFSelectMain constructor
SFSelectMain({
- Key? key,
- double? width,
- double? height,
- Color? focusedBackgroundColor,
- Color? outlineColor,
- double radius = 10,
- double? outlineWidth,
- Axis direction = Axis.vertical,
- dynamic onTap()?,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? subPadding,
- ScrollPhysics? physics,
- double spacing = 10,
- int? initialIndex,
- Duration? downDuration,
- Color? backgroundColor,
- String? selectedMenuText,
Implementation
SFSelectMain({
Key? key,
required this.menus,
this.width,
this.height,
this.menuBackgroundColor,
this.focusedBackgroundColor,
this.outlineColor,
this.radius = 10,
this.outlineWidth,
this.direction = Axis.vertical,
this.onTap,
this.padding,
this.subPadding,
this.physics,
this.spacing = 10,
this.initialIndex,
this.downDuration,
this.backgroundColor,
this.selectedMenuText,
this.menuHeight = 40,
}) : super(key: key) {
_checkForDuplicates();
}