GlassText constructor

const GlassText(
  1. String data, {
  2. TextStyle? style,
  3. Color color = Colors.white,
  4. double opacity = 0.5,
  5. double? fontSize,
  6. FontWeight fontWeight = FontWeight.bold,
  7. Key? key,
})

Implementation

const GlassText(
  this.data, {
  this.style,
  this.color = Colors.white,
  this.opacity = 0.5,
  this.fontSize,
  this.fontWeight = FontWeight.bold,
  Key? key,
}) : super(key: key);