shadows method

Niku shadows(
  1. List<BoxShadow> shadows
)

Add shadows to widget

Equivalent to

DecoratedBox(
  decoration: BoxDecoration(
    boxShadow: shadows
  )
)

Implementation

Niku shadows(List<BoxShadow> shadows) {
  _widget = DecoratedBox(
    child: _widget,
    decoration: BoxDecoration(boxShadow: shadows),
  );

  return this;
}