Badge constructor

Badge({
  1. required DslWidget child,
  2. Object? content,
  3. ColorToken? color,
  4. ColorToken? textColor,
  5. String? name,
  6. Object? visible,
})

Implementation

Badge({
  required this.child,
  Object? content,
  this.color,
  this.textColor,
  String? name,
  Object? visible,
}) : content = normalizeNullableExpression(content),
     super(name: name, visible: _normalizeVisibility(visible));