AnimatedButton constructor
const
AnimatedButton({})
Creates an AnimatedButton with custom properties.
Implementation
const AnimatedButton({
super.key,
required this.text,
required this.onPressed,
this.style = const Style(
background: CharmColors.charple,
foreground: Colors.white,
),
this.width,
this.height,
});