AnimatedActionButton constructor
const
AnimatedActionButton({
- Key? key,
- Alignment alignment = Alignment.bottomRight,
- required Widget child,
- Color backgroundColor = Colors.white,
- required void onPressed(),
- EdgeInsets padding = const EdgeInsets.symmetric(vertical: 64.0, horizontal: 32.0),
- EdgeInsets margin = const EdgeInsets.symmetric(horizontal: 8.0, vertical: 4.0),
Creates an AnimatedActionButton Widget.
Implementation
const AnimatedActionButton({
Key? key,
this.alignment = Alignment.bottomRight,
required this.child,
this.backgroundColor = Colors.white,
required this.onPressed,
this.padding = const EdgeInsets.symmetric(
vertical: 64.0,
horizontal: 32.0,
),
this.margin = const EdgeInsets.symmetric(horizontal: 8.0, vertical: 4.0),
}) : super(key: key);