LLTappable constructor

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

Implementation

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