GlassPressable constructor
- Key? key,
- required Widget child,
- bool enabled = true,
- ValueChanged<
PressState> ? onPressChanged, - Widget builder(
- BuildContext context,
- PressState state,
- Widget child
Creates a pressable around child.
Implementation
const GlassPressable({super.key, required this.child, this.enabled = true, this.onPressChanged, this.builder});