CustomBottomSheetButton constructor

const CustomBottomSheetButton({
  1. Key? key,
  2. required void onPressed()?,
  3. required String buttonText,
  4. Widget? leading,
  5. TextStyle? buttonTextStyle,
  6. Widget? trailing,
})

Implementation

const CustomBottomSheetButton(
    {Key? key,
    required this.onPressed,
    required this.buttonText,
    this.leading,
    this.buttonTextStyle,
    this.trailing})
    : super(key: key);