FloatyActionButton constructor
FloatyActionButton({})
Creates a FloatyActionButton with the given widget, onTap, and optional customization options for size, background color, and foreground color.
The icon
can be any widget (such as Icon or Text) to provide flexibility.
Implementation
FloatyActionButton({
required this.icon,
required this.onTap,
this.size = 50,
this.backgroundColor,
this.foregroundColor,
this.elevation,
});