MorphButton constructor
const
MorphButton({})
Creates a new MorphButton.
Implementation
const MorphButton(
{super.key,
/// The text displayed on the button.
required this.title,
/// The callback function called when the button is tapped.
required this.onTap,
/// The color of the button when pressed.
required this.pressedColor,
/// The initial color of the button before pressing.
required this.initialColor,
/// The initial radius of the button's corners.
required this.initialRadius,
/// The width of the button.
required this.width,
/// The height of the button.
required this.height});