shadow method

NikuButton shadow(
  1. Color base
)

Apply color to shadow of ElevatedButton

Equivalent to

TextButton(
  shadowColor: MaterialStateProperty.resolveWith<T>((states) {
     return input;
   })
)

Implementation

NikuButton shadow(Color base) {
  this._shadowColor.updateAll(base);

  return this;
}