DButtonBorder constructor
DButtonBorder({
- required Color borderColor,
- double borderWidth = 2.0,
- 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,
- Offset shadowOffset = Offset.zero,
- Color splashColor = Colors.grey,
- double? width,
Implementation
DButtonBorder({
required this.borderColor,
this.borderWidth = 2.0,
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.shadowOffset = Offset.zero,
this.splashColor = Colors.grey,
this.width,
});