PressableState.none constructor

PressableState.none({
  1. Key? key,
  2. required Widget child,
})

Implementation

factory PressableState.none({Key? key, required Widget child}) {
  return PressableState(
    key: key,
    enabled: false,
    hovered: false,
    focused: false,
    pressed: false,
    longPressed: false,
    pointerPosition: null,
    child: child,
  );
}