FloatingActionButton.rounded constructor

FloatingActionButton.rounded({
  1. required dynamic onPressed(),
  2. Icon? icon,
  3. Color? hoverColor,
  4. Color? backgroundColor,
  5. int size = 56,
})

Implementation

factory FloatingActionButton.rounded({
  required Function() onPressed,
  Icon? icon,
  Color? hoverColor,
  Color? backgroundColor,
  int size = 56,
}) {
  return FloatingActionButton(
      onPressed: onPressed,
      backgroudColor: backgroundColor,
      curve: 50,
      hoverColor: hoverColor,
      size: size);
}