pub struct RadioGroupShortcutManager<T: Clone + PartialEq + 'static> { /* private fields */ }Expand description
Dart’s _RadioGroupShortcutManager: a ShortcutManagerBase that ignores a key event
while no radio in its group has focus.
Trait Implementations§
Source§impl<T: Clone + PartialEq + 'static> ChangeNotifier for RadioGroupShortcutManager<T>
impl<T: Clone + PartialEq + 'static> ChangeNotifier for RadioGroupShortcutManager<T>
fn change_notifier_data(&self) -> &ChangeNotifierData
fn change_notifier_data_mut(&mut self) -> &mut ChangeNotifierData
Source§fn will_add_listener(self: Handle<Self>, app: &mut App)
fn will_add_listener(self: Handle<Self>, app: &mut App)
Runs before the listener is stored. Dart overrides of
addListener that
work before super.addListener go here.Source§fn did_remove_listener(self: Handle<Self>, app: &mut App)
fn did_remove_listener(self: Handle<Self>, app: &mut App)
Runs after the listener is removed. Dart overrides of
removeListener that
work after super.removeListener go here.Source§impl<T: Clone + PartialEq + 'static> ShortcutManagerBase for RadioGroupShortcutManager<T>
impl<T: Clone + PartialEq + 'static> ShortcutManagerBase for RadioGroupShortcutManager<T>
Source§fn shortcut_manager_data(self: Handle<Self>, app: &App) -> &ShortcutManagerData
fn shortcut_manager_data(self: Handle<Self>, app: &App) -> &ShortcutManagerData
Source§fn shortcut_manager_data_mut(
self: Handle<Self>,
app: &mut App,
) -> &mut ShortcutManagerData
fn shortcut_manager_data_mut( self: Handle<Self>, app: &mut App, ) -> &mut ShortcutManagerData
Source§fn handle_keypress(
self: Handle<Self>,
app: &mut App,
context: BuildContext,
event: &KeyEvent,
) -> KeyEventResult
fn handle_keypress( self: Handle<Self>, app: &mut App, context: BuildContext, event: &KeyEvent, ) -> KeyEventResult
Source§fn as_shortcut_manager(self: Handle<Self>) -> AnyShortcutManager
fn as_shortcut_manager(self: Handle<Self>) -> AnyShortcutManager
This manager as the erased
AnyShortcutManager — what to pass where a Dart API takes
a ShortcutManager.Source§fn modal(self: Handle<Self>, app: &App) -> bool
fn modal(self: Handle<Self>, app: &App) -> bool
True if the
ShortcutManagerBase should not pass on keys that it doesn’t handle to
any key-handling widgets that are ancestors to this one. Read moreSource§fn shortcuts(self: Handle<Self>, app: &App) -> ShortcutMap
fn shortcuts(self: Handle<Self>, app: &App) -> ShortcutMap
Returns the shortcut map. Read more
Source§fn set_shortcuts(self: Handle<Self>, app: &mut App, value: ShortcutMap)
fn set_shortcuts(self: Handle<Self>, app: &mut App, value: ShortcutMap)
See
shortcuts.Source§fn indexed_shortcuts(
self: Handle<Self>,
app: &mut App,
) -> Rc<HashMap<Option<LogicalKeyboardKey>, Vec<ActivatorIntentPair>>>
fn indexed_shortcuts( self: Handle<Self>, app: &mut App, ) -> Rc<HashMap<Option<LogicalKeyboardKey>, Vec<ActivatorIntentPair>>>
Dart’s
ShortcutManager._indexedShortcuts.Auto Trait Implementations§
impl<T> !RefUnwindSafe for RadioGroupShortcutManager<T>
impl<T> !Send for RadioGroupShortcutManager<T>
impl<T> !Sync for RadioGroupShortcutManager<T>
impl<T> !UnwindSafe for RadioGroupShortcutManager<T>
impl<T> Forget for RadioGroupShortcutManager<T>
impl<T> Freeze for RadioGroupShortcutManager<T>where
*const u8 is !null: Freeze,
PhantomData<Option<Listener>>: Freeze,
*const RcInner<Cell<usize>> is !null: Freeze,
PhantomData<RcInner<Cell<usize>>>: Freeze,
PhantomData<(Rc<dyn ShortcutActivator>, Rc<dyn Intent>)>: Freeze,
*const RcInner<HashMap<Option<LogicalKeyboardKey>, Vec<ActivatorIntentPair>>> is !null: Freeze,
PhantomData<RcInner<HashMap<Option<LogicalKeyboardKey>, Vec<ActivatorIntentPair>>>>: Freeze,
NonZero<u32>: Freeze,
PhantomData<fn() -> RadioGroupState<T>>: Freeze,
impl<T> Move for RadioGroupShortcutManager<T>
impl<T> Unpin for RadioGroupShortcutManager<T>
impl<T> UnsafeUnpin for RadioGroupShortcutManager<T>where
*const u8 is !null: UnsafeUnpin,
PhantomData<Option<Listener>>: UnsafeUnpin,
*const RcInner<Cell<usize>> is !null: UnsafeUnpin,
PhantomData<RcInner<Cell<usize>>>: UnsafeUnpin,
PhantomData<(Rc<dyn ShortcutActivator>, Rc<dyn Intent>)>: UnsafeUnpin,
*const RcInner<HashMap<Option<LogicalKeyboardKey>, Vec<ActivatorIntentPair>>> is !null: UnsafeUnpin,
PhantomData<RcInner<HashMap<Option<LogicalKeyboardKey>, Vec<ActivatorIntentPair>>>>: UnsafeUnpin,
NonZeroU32Inner: UnsafeUnpin,
PhantomData<fn() -> RadioGroupState<T>>: UnsafeUnpin,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> ListenableObject for Twhere
T: ChangeNotifier,
impl<T> ListenableObject for Twhere
T: ChangeNotifier,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> ShortcutManagerKeypress for Twhere
T: ShortcutManagerBase,
impl<T> ShortcutManagerKeypress for Twhere
T: ShortcutManagerBase,
Source§fn handle_keypress(
self: Handle<Self>,
app: &mut App,
context: BuildContext,
event: &KeyEvent,
) -> KeyEventResult
fn handle_keypress( self: Handle<Self>, app: &mut App, context: BuildContext, event: &KeyEvent, ) -> KeyEventResult
Flutter’s
ShortcutManager.handleKeypress.