pub struct SelectableRegionSelectionStatusNotifier { /* private fields */ }Expand description
Notifies its listeners when the SelectableRegion that created this object is changing
or finalizes its selection.
To access the notifier from the nearest SelectableRegion ancestor, use
SelectableRegionSelectionStatusScope::maybe_of.
Trait Implementations§
Source§impl ChangeNotifier for SelectableRegionSelectionStatusNotifier
impl ChangeNotifier for SelectableRegionSelectionStatusNotifier
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.Auto Trait Implementations§
impl !RefUnwindSafe for SelectableRegionSelectionStatusNotifier
impl !Send for SelectableRegionSelectionStatusNotifier
impl !Sync for SelectableRegionSelectionStatusNotifier
impl !UnwindSafe for SelectableRegionSelectionStatusNotifier
impl Forget for SelectableRegionSelectionStatusNotifier
impl Freeze for SelectableRegionSelectionStatusNotifier
impl Move for SelectableRegionSelectionStatusNotifier
impl Unpin for SelectableRegionSelectionStatusNotifier
impl UnsafeUnpin for SelectableRegionSelectionStatusNotifierwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Option<Listener>>: UnsafeUnpin,
*const RcInner<Cell<usize>> is !null: UnsafeUnpin,
PhantomData<RcInner<Cell<usize>>>: 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