LLTappable constructor

LLTappable({
  1. required Widget child,
  2. Key? key,
  3. FutureOr<void> onTap()?,
  4. Duration duration = const Duration(milliseconds: 500),
})

Implementation

factory LLTappable({
  required Widget child,
  Key? key,
  FutureOr<void> Function()? onTap,
  Duration duration = const Duration(milliseconds: 500),
}) =>
    LLTappable.constrained(
      key: key,
      duration: duration,
      onTap: onTap,
      child: child,
    );