DButtonShadow constructor

DButtonShadow({
  1. required Widget child,
  2. Color disableColor = Colors.grey,
  3. double? height,
  4. Color mainColor = Colors.white,
  5. dynamic onClick()?,
  6. dynamic onDoubleClick()?,
  7. dynamic onLongClick()?,
  8. EdgeInsetsGeometry? padding,
  9. double radius = 4.0,
  10. Color shadowColor = Colors.black38,
  11. Offset shadowOffset = Offset.zero,
  12. Color splashColor = Colors.grey,
  13. double? width,
})

Implementation

DButtonShadow({
  required this.child,
  this.disableColor = Colors.grey,
  this.height,
  this.mainColor = Colors.white,
  this.onClick,
  this.onDoubleClick,
  this.onLongClick,
  this.padding,
  this.radius = 4.0,
  this.shadowColor = Colors.black38,
  this.shadowOffset = Offset.zero,
  this.splashColor = Colors.grey,
  this.width,
});