Fluent2KeyFocus constructor
const
Fluent2KeyFocus({
- required bool enabled,
- required Map<
LogicalKeyboardKey, VoidCallback> keys, - required double radius,
- required Widget child,
- EdgeInsets ringInsets = EdgeInsets.zero,
- FocusNode? focusNode,
- bool autofocus = false,
- ValueChanged<
bool> ? onFocus, - Key? key,
Gives child keyboard focus, keys and Fluent's focus indicator.
Implementation
const Fluent2KeyFocus({
required this.enabled,
required this.keys,
required this.radius,
required this.child,
this.ringInsets = EdgeInsets.zero,
this.focusNode,
this.autofocus = false,
this.onFocus,
super.key,
});