clickable method

Widget clickable({
  1. bool enabled = true,
  2. VoidCallback? onTap,
  3. Key? key,
})

Implementation

Widget clickable({
  bool enabled = true,
  VoidCallback? onTap,
  Key? key,
}) =>
    Clickable(
      enabled: enabled,
      onTap: onTap,
      key: key,
      child: this,
    );