AnimatedButton constructor

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

Constructor

Implementation

const AnimatedButton({
  required this.pressEvent,
  Key? key,
  this.text,
  this.icon,
  this.color,
  this.height,
  this.isFixedHeight = true,
  this.width = double.infinity,
  this.borderRadius,
  this.buttonTextStyle,
}) : super(key: key);