FloatingActionButton.extended constructor
FloatingActionButton.extended({})
Implementation
factory FloatingActionButton.extended({
required Function() onPressed,
Icon? icon,
Color? hoverColor,
Color? backgroudColor,
int size = 56,
int? height,
int? width,
}) {
return FloatingActionButton(
onPressed: onPressed,
backgroudColor: backgroudColor,
curve: 20,
hoverColor: hoverColor,
size: size,
height: height ?? 56,
width: width ?? 70,
);
}