FlutterWebButton.textOnlyColorChange constructor

FlutterWebButton.textOnlyColorChange(
  1. String? text, {
  2. Key? key,
  3. required VoidCallback? onPressed,
  4. required FlutterTextOptions? flutterTextOptions,
  5. Color? textAnimatedColor,
  6. Duration? animationDuration,
})

Animates the text color only.

Implementation

FlutterWebButton.textOnlyColorChange(
  this.text, {
  Key? key,
  required this.onPressed,
  required this.flutterTextOptions,
  this.textAnimatedColor,
  this.animationDuration,
})  : _buttonType = FlutterWebButtonList.textOnlyColorChange,
      super(key: key);