Container constructor

Container({
  1. DslWidget? child,
  2. ColorToken? color,
  3. Object? padding,
  4. Object? margin,
  5. double? borderRadius,
  6. ColorToken? borderColor,
  7. double? borderWidth,
  8. Shadow? shadow,
  9. Gradient? gradient,
  10. double? width,
  11. double? height,
  12. Alignment? alignment,
  13. Object? onTap,
  14. String? name,
  15. Object? visible,
})

Implementation

Container({
  this.child,
  this.color,
  this.padding,
  this.margin,
  this.borderRadius,
  this.borderColor,
  this.borderWidth,
  this.shadow,
  this.gradient,
  this.width,
  this.height,
  this.alignment,
  Object? onTap,
  String? name,
  Object? visible,
}) : onTap = normalizeActionSequence(onTap, parameterName: 'onTap'),
     super(name: name, visible: _normalizeVisibility(visible));