FloatingLabel constructor

const FloatingLabel(
  1. String text, {
  2. Key? key,
  3. TextStyle? style,
  4. double amplitude = 6,
  5. Duration period = const Duration(milliseconds: 2000),
  6. bool glow = false,
  7. Color? glowColor,
  8. double phaseOffset = 0,
})

Implementation

const FloatingLabel(
  this.text, {
  super.key,
  this.style,
  this.amplitude   = 6,
  this.period      = const Duration(milliseconds: 2000),
  this.glow        = false,
  this.glowColor,
  this.phaseOffset = 0,
});