rounded method

Niku rounded([
  1. double borderRadius = 999999
])

Apply border radius to widget

Equivalent to:

ClipRRect(
  borderRadius: BorderRadius.all(
    Radius.circular(input)
  )
)

Implementation

Niku rounded([double borderRadius = 999999]) => Niku(ClipRRect(
      borderRadius: BorderRadius.all(Radius.circular(borderRadius)),
      child: this._widget,
    ));