BasePullDownButtonAnchor constructor
const
BasePullDownButtonAnchor({
- Key? key,
- required String? buttonLabel,
- required List<
CNPullDownMenuEntry> items, - required ValueChanged<
int> onSelected, - Color? tint,
- double height = 44.0,
- double? width,
- CNButtonStyle buttonStyle = CNButtonStyle.plain,
- Alignment alignment = Alignment.center,
- BaseParam? baseParam,
Creates a text-labeled pull-down button with automatic anchoring
Implementation
const BasePullDownButtonAnchor({
Key? key,
required this.buttonLabel,
required this.items,
required this.onSelected,
this.tint,
this.height = 44.0,
this.width,
this.buttonStyle = CNButtonStyle.plain,
this.menuTitle,
this.alignment = Alignment.center,
BaseParam? baseParam,
}) : buttonIcon = null,
size = 44.0,
super(key: key, baseParam: baseParam);