FlutterWebButton.textColorChange constructor

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

Animates the text color only.

Implementation

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