PopupButtonType.multiButton constructor

const PopupButtonType.multiButton({
  1. required String leftButtonLabel,
  2. @Default.new(null) void onPressedLeftButton()?,
  3. required String rightButtonLabel,
  4. @Default.new(null) void onPressedRightButton()?,
})

Implementation

const factory PopupButtonType.multiButton(
    {required String leftButtonLabel,
    @Default(null) void Function()? onPressedLeftButton,
    required String rightButtonLabel,
    @Default(null) void Function()? onPressedRightButton}) = MultiPopupButton;