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. double? width,
  10. double? height,
  11. Alignment? alignment,
  12. Object? onTap,
  13. String? name,
  14. Object? visible,
})

Implementation

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