pub struct DatePickerScope { /* private fields */ }Expand description
A DatePicker and its builder.
Implementations§
Source§impl DatePickerScope
impl DatePickerScope
Sourcepub fn on_motion_finished(
self,
handler: impl FnMut(MotionFinished) + 'static,
) -> Self
pub fn on_motion_finished( self, handler: impl FnMut(MotionFinished) + 'static, ) -> Self
Runs once when this node’s size motion comes to rest, with the size it settled
at in dp. The node needs Modifier::motion for its size to move; without it
nothing is reported. A run interrupted by a newer size is not reported, only
the one that settles, and under reduced motion it arrives in the frame the
size changes in.
Trait Implementations§
Source§impl Drop for DatePickerScope
impl Drop for DatePickerScope
Auto Trait Implementations§
impl !RefUnwindSafe for DatePickerScope
impl !Send for DatePickerScope
impl !Sync for DatePickerScope
impl !UnwindSafe for DatePickerScope
impl Forget for DatePickerScope
impl Freeze for DatePickerScope
impl Move for DatePickerScope
impl Unpin for DatePickerScope
impl UnsafeUnpin for DatePickerScope
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