material method

Niku material({
  1. double elevation = 0,
  2. Color? color,
  3. Color? shadowColor,
})

Add Material to widget

Equivalent to

Material(
  elevation: elevation,
  color: color,
  shadowColor: shadowColor
)

Implementation

Niku material({double elevation = 0, Color? color, Color? shadowColor}) =>
    Niku(Material(
      child: this._widget,
      elevation: elevation,
      color: color,
      shadowColor: shadowColor,
    ));