ButtonPanel constructor

const ButtonPanel({
  1. Key? key,
  2. required String mainButtonName,
  3. required VoidCallback mainButtonOnTap,
  4. bool isMainBtnEnable = true,
  5. List<String>? secondaryButtonNameList,
  6. void secondaryButtonOnTap(
    1. int
    )?,
  7. List<ButtonPanelConfig>? secondaryButtonList,
  8. double horizontalPadding = 20,
  9. 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);