CcTapOnceWidget constructor

CcTapOnceWidget({
  1. Key? key,
  2. Widget? child,
  3. bool? isDisable,
  4. double? pressedOpacity = 0.5,
  5. Widget builder(
    1. State<StatefulWidget> state
    )?,
  6. void onTap(
    1. State<StatefulWidget> state
    )?,
})

Implementation

CcTapOnceWidget({
  Key? key,
  Widget? child,
  bool? isDisable,
  double? pressedOpacity = 0.5,
  Widget Function(State state)? builder,
  void Function(State state)? onTap,
}) : super(
        key: key,
        child: child,
        isDisable: isDisable ?? false,
        pressedOpacity: pressedOpacity,
        builder: builder,
        onTap: onTap,
      );