useDismiss method

void useDismiss(
  1. Key key,
  2. NikuDismissible builder(
    1. NikuDismissible
    )
)

Implementation

void useDismiss(Key key, NikuDismissible Function(NikuDismissible) builder) {
  useParent((child) => builder(NikuDismissible(key, child: child)));
}