inkwell method

Niku inkwell({
  1. Color? hover,
  2. Color? focus,
  3. Color? highlight,
  4. Color? splash,
  5. double? radius,
  6. bool autofocus = false,
  7. VoidCallback? onTap,
})

Add InkWell to widget

Equivalent to

InkWell(
  hoverColor: hover,
  focusColor: focus,
  highlightColor: highlight,
  splashColor: splash,
  radius: radius,
  autofocus: autofocus
)

Implementation

Niku inkwell({
  Color? hover,
  Color? focus,
  Color? highlight,
  Color? splash,
  double? radius,
  bool autofocus = false,
  VoidCallback? onTap,
}) =>
    Niku(
      InkWell(
        child: this._widget,
        hoverColor: hover,
        focusColor: focus,
        highlightColor: highlight,
        splashColor: splash,
        radius: radius,
        onTap: onTap,
        autofocus: autofocus,
      ),
    );