AdaptiveGlassText constructor

const AdaptiveGlassText(
  1. String data, {
  2. required Color lightColor,
  3. required Color darkColor,
  4. TextStyle? style,
  5. TextAlign? textAlign,
  6. int? maxLines,
  7. TextOverflow? overflow,
  8. bool? softWrap,
  9. Key? key,
})

Creates adaptive glass-aware text.

Implementation

const AdaptiveGlassText(
  this.data, {
  required this.lightColor,
  required this.darkColor,
  this.style,
  this.textAlign,
  this.maxLines,
  this.overflow,
  this.softWrap,
  super.key,
});