PopupButton.large constructor

PopupButton.large({
  1. required String label,
  2. required Color color,
  3. dynamic onPressed()?,
  4. double? fontSize = 16,
  5. double? height,
})

Implementation

factory PopupButton.large({
  required String label,
  required Color color,
  Function()? onPressed,
  double? fontSize = 16,
  double? height,
}) {
  return PopupButton(
    label: label,
    color: color,
    onPressed: onPressed,
    fontSize: fontSize,
    height: 50,
    width: 230,
  );
}