AnimatedButton constructor

const AnimatedButton({
  1. required Function pressEvent,
  2. String? text,
  3. IconData? icon,
  4. Color? color,
  5. bool isFixedHeight = true,
  6. double width = double.infinity,
  7. BorderRadiusGeometry? borderRadius,
  8. TextStyle? buttonTextStyle,
})

Implementation

const AnimatedButton({
  required this.pressEvent,
  this.text,
  this.icon,
  this.color,
  this.isFixedHeight = true,
  this.width = double.infinity,
  this.borderRadius,
  this.buttonTextStyle,
});