setElevation method

NikuRaisedButton setElevation({
  1. double? elevation,
  2. double? disabled,
  3. double? focus,
  4. double? hover,
  5. double? highlight,
})

Set all elevation property

Equivalent to

RaisedButton(
  elevation: elevation,
  disabled: disabled,
  focus: focus,
  hover: hover,
  highlight: highlight
);

Implementation

NikuRaisedButton setElevation(
    {double? elevation,
    double? disabled,
    double? focus,
    double? hover,
    double? highlight}) {
  this._elevation = elevation;
  this._disabledElevation = disabled;
  this._focusElevation = focus;
  this._hoverElevation = hover;
  this._highlightElevation = highlight;

  return this;
}