ArcaneAuthLayout.themed constructor

const ArcaneAuthLayout.themed({
  1. Key? key,
  2. required Component child,
  3. Component? header,
  4. Component? footer,
  5. bool showGrid = true,
  6. bool showGlows = true,
  7. String maxWidth = '420px',
  8. String backgroundColor = 'var(--background)',
})

Implementation

const ArcaneAuthLayout.themed({
  super.key,
  required this.child,
  this.header,
  this.footer,
  this.showGrid = true,
  this.showGlows = true,
  this.maxWidth = '420px',
  this.backgroundColor = 'var(--background)',
})  : primaryGlowColor = 'color-mix(in srgb, var(--accent) 15%, transparent)',
      secondaryGlowColor = 'color-mix(in srgb, var(--info) 15%, transparent)',
      gridColor = 'color-mix(in srgb, var(--border) 30%, transparent)';