DButtonShadow constructor
DButtonShadow({
- required Widget child,
- Color disableColor = Colors.grey,
- double? height,
- Color mainColor = Colors.white,
- dynamic onClick()?,
- dynamic onDoubleClick()?,
- dynamic onLongClick()?,
- EdgeInsetsGeometry? padding,
- double radius = 4.0,
- Color shadowColor = Colors.black38,
- Offset shadowOffset = Offset.zero,
- Color splashColor = Colors.grey,
- 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,
});