DFButton constructor

DFButton({
  1. String? text,
  2. double fontSize = 14,
  3. Color textColor = const Color(0xFFFFFFFF),
  4. FontWeight fontWeight = FontWeight.normal,
  5. Size size = const Size(80, 80),
  6. String? image,
  7. String? pressedImage,
  8. required void onPressed(
    1. DFButton button
    ),
})

Implementation

DFButton({
  this.text,
  this.fontSize = 14,
  this.textColor = const Color(0xFFFFFFFF),
  this.fontWeight = FontWeight.normal,
  this.size = const Size(80, 80),
  this.image,
  this.pressedImage,
  required this.onPressed,
});