TkBox constructor
const
TkBox({
- Key? key,
- Color? color,
- double? top,
- double? right,
- double? bottom,
- double? left,
- List<
double> padding = const [], - double? marginTop,
- double? marginRight,
- double? marginBottom,
- double? marginLeft,
- List<
double> margin = const [], - double? width,
- double? height,
- AlignmentGeometry? alignment,
- Widget? child,
- void onPressed()?,
- BoxBorder? border,
- BorderRadius? borderRadius,
- double? minWidth = 0,
- double? minHeight = 0,
- Decoration? decoration,
- double? col,
- double? colOnMobile,
- double? colOnTablet,
- double? colOnDesktop,
- double? ratio,
- double? elevation,
- bool? randomColor = false,
- bool show = true,
- bool ripple = false,
Implementation
const TkBox({
Key? key,
this.color,
this.top,
this.right,
this.bottom,
this.left,
this.padding = const [],
this.marginTop,
this.marginRight,
this.marginBottom,
this.marginLeft,
this.margin = const [],
this.width,
this.height,
this.alignment,
this.child,
this.onPressed,
this.border,
this.borderRadius,
this.minWidth = 0,
this.minHeight = 0,
this.decoration,
this.col,
this.colOnMobile,
this.colOnTablet,
this.colOnDesktop,
this.ratio,
this.elevation,
this.randomColor = false,
this.show = true,
this.ripple = false,
}) : super(key: key);