material method
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,
));