NeumorphicText constructor

NeumorphicText(
  1. String text, {
  2. Key? key,
  3. Duration duration = Neumorphic.DEFAULT_DURATION,
  4. Curve curve = Neumorphic.DEFAULT_CURVE,
  5. NeumorphicStyle? style,
  6. TextAlign textAlign = TextAlign.center,
  7. NeumorphicTextStyle? textStyle,
})

Implementation

NeumorphicText(
  this.text, {
  Key? key,
  this.duration = Neumorphic.DEFAULT_DURATION,
  this.curve = Neumorphic.DEFAULT_CURVE,
  this.style,
  this.textAlign = TextAlign.center,
  this.textStyle,
}) : super(key: key);