GlassFocusRegion constructor
const
GlassFocusRegion({
- required Widget child,
- required bool enabled,
- ShapeBorder? shape,
- FocusNode? observedFocusNode,
- ValueNotifier<
bool> ? isFocusedNotifier, - ValueNotifier<
bool> ? isHoveredNotifier, - FocusNode? focusNode,
- bool canRequestFocus = true,
- bool autofocus = false,
- String? semanticLabel,
- bool isButton = false,
- bool isSlider = false,
- bool tracksSelection = false,
- bool isSelected = false,
- bool? toggled,
- VoidCallback? onKeyboardActivate,
- VoidCallback? semanticOnTap,
- VoidCallback? semanticOnLongPress,
- String? semanticValue,
- String? semanticIncreasedValue,
- String? semanticDecreasedValue,
- VoidCallback? semanticOnIncrease,
- VoidCallback? semanticOnDecrease,
- Key? key,
Interactive mode: full keyboard traversal, semantics, and focus ring.
Implementation
const GlassFocusRegion({
required this.child,
required this.enabled,
this.shape,
this.observedFocusNode,
this.isFocusedNotifier,
this.isHoveredNotifier,
this.focusNode,
this.canRequestFocus = true,
this.autofocus = false,
this.semanticLabel,
this.isButton = false,
this.isSlider = false,
this.tracksSelection = false,
this.isSelected = false,
this.toggled,
this.onKeyboardActivate,
this.semanticOnTap,
this.semanticOnLongPress,
this.semanticValue,
this.semanticIncreasedValue,
this.semanticDecreasedValue,
this.semanticOnIncrease,
this.semanticOnDecrease,
super.key,
});