ButtonPanel constructor
const
ButtonPanel({
- Key? key,
- required String mainButtonName,
- required VoidCallback mainButtonOnTap,
- bool isMainBtnEnable = true,
- List<
String> ? secondaryButtonNameList, - void secondaryButtonOnTap()?,
- List<
ButtonPanelConfig> ? secondaryButtonList, - double horizontalPadding = 20,
- PopupDirection popDirection = PopupDirection.bottom,
Implementation
const ButtonPanel(
{Key? key,
required this.mainButtonName,
required this.mainButtonOnTap,
this.isMainBtnEnable = true,
this.secondaryButtonNameList,
this.secondaryButtonOnTap,
this.secondaryButtonList,
this.horizontalPadding = 20,
this.popDirection = PopupDirection.bottom})
: super(key: key);