ArcaneGradientText.brand constructor

const ArcaneGradientText.brand({
  1. required String content,
  2. String fontSize = 'inherit',
  3. String fontWeight = 'inherit',
  4. Key? key,
})

Brand gradient using primary and accent colors.

Implementation

const ArcaneGradientText.brand({
  required this.content,
  this.fontSize = 'inherit',
  this.fontWeight = 'inherit',
  super.key,
})  : gradient = 'linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%)',
      gradientStart = null,
      gradientEnd = null,
      gradientAngle = null,
      colorStops = null;