TkBox constructor

const TkBox({
  1. Key? key,
  2. Color? color,
  3. double? top,
  4. double? right,
  5. double? bottom,
  6. double? left,
  7. List<double> padding = const [],
  8. double? marginTop,
  9. double? marginRight,
  10. double? marginBottom,
  11. double? marginLeft,
  12. List<double> margin = const [],
  13. double? width,
  14. double? height,
  15. AlignmentGeometry? alignment,
  16. Widget? child,
  17. void onPressed()?,
  18. BoxBorder? border,
  19. BorderRadius? borderRadius,
  20. double? minWidth = 0,
  21. double? minHeight = 0,
  22. Decoration? decoration,
  23. double? col,
  24. double? colOnMobile,
  25. double? colOnTablet,
  26. double? colOnDesktop,
  27. double? ratio,
  28. double? elevation,
  29. bool? randomColor = false,
  30. bool show = true,
  31. 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);