AnimatedActionButton constructor

const AnimatedActionButton({
  1. Key? key,
  2. Alignment alignment = Alignment.bottomRight,
  3. required Widget child,
  4. Color backgroundColor = Colors.white,
  5. required void onPressed(),
  6. EdgeInsets padding = const EdgeInsets.symmetric(vertical: 64.0, horizontal: 32.0),
  7. EdgeInsets margin = const EdgeInsets.symmetric(horizontal: 8.0, vertical: 4.0),
})

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);