JuiLabeledText constructor

const JuiLabeledText({
  1. Key? key,
  2. String? text,
  3. String? label,
  4. Color? labelColor,
  5. Color? color,
  6. double? paddingHeight,
  7. TextStyle? textStyle,
  8. bool allowShimmer = true,
  9. double? shimmerWidth,
  10. double? shimmerHeight,
  11. double? shimmerBorderRadius,
  12. bool? small,
})

Implementation

const JuiLabeledText({
  Key? key,
  this.text,
  this.label,
  this.labelColor,
  this.color,
  this.paddingHeight,
  this.textStyle,
  this.allowShimmer = true,
  this.shimmerWidth,
  this.shimmerHeight,
  this.shimmerBorderRadius,
  this.small,
})  : assert(paddingHeight == null || paddingHeight >= 0),
      assert(shimmerWidth == null || shimmerWidth >= 0),
      assert(shimmerHeight == null || shimmerHeight >= 0),
      assert(shimmerBorderRadius == null || shimmerBorderRadius >= 0),
      super(key: key);