pub struct AnimatedDefaultTextStyleState { /* private fields */ }Expand description
Dart’s _AnimatedDefaultTextStyleState.
Trait Implementations§
Source§impl AnimatedWidgetBaseState for AnimatedDefaultTextStyleState
impl AnimatedWidgetBaseState for AnimatedDefaultTextStyleState
Source§fn init_state(self: Handle<Self>, app: &mut App)
fn init_state(self: Handle<Self>, app: &mut App)
Dart’s
AnimatedWidgetBaseState.initState.Source§fn handle_animation_changed(self: Handle<Self>, app: &mut App)
fn handle_animation_changed(self: Handle<Self>, app: &mut App)
Dart’s private
_handleAnimationChanged.Source§impl ImplicitlyAnimatedWidgetState for AnimatedDefaultTextStyleState
impl ImplicitlyAnimatedWidgetState for AnimatedDefaultTextStyleState
Source§fn implicitly_animated_widget_state_data(
self: Handle<Self>,
app: &App,
) -> &ImplicitlyAnimatedWidgetStateData
fn implicitly_animated_widget_state_data( self: Handle<Self>, app: &App, ) -> &ImplicitlyAnimatedWidgetStateData
Source§fn implicitly_animated_widget_state_data_mut(
self: Handle<Self>,
app: &mut App,
) -> &mut ImplicitlyAnimatedWidgetStateData
fn implicitly_animated_widget_state_data_mut( self: Handle<Self>, app: &mut App, ) -> &mut ImplicitlyAnimatedWidgetStateData
The
ImplicitlyAnimatedWidgetStateData bag, mutably.Source§fn for_each_tween<V: TweenVisitor>(
self: Handle<Self>,
app: &mut App,
visitor: &mut V,
)
fn for_each_tween<V: TweenVisitor>( self: Handle<Self>, app: &mut App, visitor: &mut V, )
Visits each tween controlled by this state with the specified
visitor. Read moreSource§fn controller(self: Handle<Self>, app: &App) -> Handle<AnimationController>
fn controller(self: Handle<Self>, app: &App) -> Handle<AnimationController>
The animation controller driving this widget’s implicit animations.
Source§fn animation(self: Handle<Self>, app: &App) -> AnyAnimation<f64>
fn animation(self: Handle<Self>, app: &App) -> AnyAnimation<f64>
The animation driving this widget’s implicit animations.
Source§fn init_state(self: Handle<Self>, app: &mut App)
fn init_state(self: Handle<Self>, app: &mut App)
Dart’s
ImplicitlyAnimatedWidgetState.initState.Source§fn did_update_widget(
self: Handle<Self>,
app: &mut App,
old_widget: &Self::Widget,
)
fn did_update_widget( self: Handle<Self>, app: &mut App, old_widget: &Self::Widget, )
Dart’s
ImplicitlyAnimatedWidgetState.didUpdateWidget.Source§fn did_update_tweens(self: Handle<Self>, app: &mut App)
fn did_update_tweens(self: Handle<Self>, app: &mut App)
Optional hook for implementors that runs after all tweens have been updated
via
for_each_tween. Read moreSource§impl SingleTickerProviderStateMixin for AnimatedDefaultTextStyleState
impl SingleTickerProviderStateMixin for AnimatedDefaultTextStyleState
Source§fn single_ticker_provider_data(
self: Handle<Self>,
app: &App,
) -> &SingleTickerProviderStateMixinData
fn single_ticker_provider_data( self: Handle<Self>, app: &App, ) -> &SingleTickerProviderStateMixinData
Mixin field access.
Source§fn single_ticker_provider_data_mut(
self: Handle<Self>,
app: &mut App,
) -> &mut SingleTickerProviderStateMixinData
fn single_ticker_provider_data_mut( self: Handle<Self>, app: &mut App, ) -> &mut SingleTickerProviderStateMixinData
Source§fn debug_fill_properties(
self: Handle<Self>,
app: &App,
properties: &mut DiagnosticPropertiesBuilder,
)
fn debug_fill_properties( self: Handle<Self>, app: &App, properties: &mut DiagnosticPropertiesBuilder, )
Dart’s
SingleTickerProviderStateMixin.debugFillProperties, which a state’s own body
calls where Dart’s mixin adds its line.Source§fn create_ticker(
self: Handle<Self>,
app: &mut App,
on_tick: TickerCallback,
) -> Ref<Ticker>
fn create_ticker( self: Handle<Self>, app: &mut App, on_tick: TickerCallback, ) -> Ref<Ticker>
TickerProvider::create_ticker: creates a ticker with the given callback.Source§impl State for AnimatedDefaultTextStyleState
impl State for AnimatedDefaultTextStyleState
Source§type Widget = AnimatedDefaultTextStyle
type Widget = AnimatedDefaultTextStyle
The widget this state belongs to; Dart’s
State<T> type argument.Source§fn state_data(self: Handle<Self>, app: &App) -> &StateData<Self::Widget>
fn state_data(self: Handle<Self>, app: &App) -> &StateData<Self::Widget>
The framework’s bookkeeping, held under the field
state
(state_accessors!).Source§fn state_data_mut(
self: Handle<Self>,
app: &mut App,
) -> &mut StateData<Self::Widget>
fn state_data_mut( self: Handle<Self>, app: &mut App, ) -> &mut StateData<Self::Widget>
See
state_data.Source§fn init_state(self: Handle<Self>, app: &mut App)
fn init_state(self: Handle<Self>, app: &mut App)
Called when this object is inserted into the tree. Read more
Source§fn activate(self: Handle<Self>, app: &mut App)
fn activate(self: Handle<Self>, app: &mut App)
Called when this object is reinserted into the tree after having been removed via
deactivate. Read moreSource§fn did_update_widget(
self: Handle<Self>,
app: &mut App,
old_widget: &AnimatedDefaultTextStyle,
)
fn did_update_widget( self: Handle<Self>, app: &mut App, old_widget: &AnimatedDefaultTextStyle, )
Called whenever the widget configuration changes. Read more
Source§fn dispose(self: Handle<Self>, app: &mut App)
fn dispose(self: Handle<Self>, app: &mut App)
Called when this object is removed from the tree permanently. Read more
Source§fn build(self: Handle<Self>, app: &mut App, _context: BuildContext) -> WidgetRef
fn build(self: Handle<Self>, app: &mut App, _context: BuildContext) -> WidgetRef
Describes the part of the user interface represented by this widget. Read more
Source§fn widget(self: Handle<Self>, app: &App) -> &Self::Widget
fn widget(self: Handle<Self>, app: &App) -> &Self::Widget
The current configuration. Read more
Source§fn context(self: Handle<Self>, app: &App) -> BuildContext
fn context(self: Handle<Self>, app: &App) -> BuildContext
The location in the tree where this widget builds. Read more
Source§fn set_state(self: Handle<Self>, app: &mut App, f: impl FnOnce(&mut Self))
fn set_state(self: Handle<Self>, app: &mut App, f: impl FnOnce(&mut Self))
Notify the framework that the internal state of this object has changed. Read more
Source§fn deactivate(self: Handle<Self>, app: &mut App)
fn deactivate(self: Handle<Self>, app: &mut App)
Called when this object is removed from the tree. Read more
Source§fn did_change_dependencies(self: Handle<Self>, app: &mut App)
fn did_change_dependencies(self: Handle<Self>, app: &mut App)
Source§fn debug_fill_properties(
self: Handle<Self>,
app: &App,
properties: &mut DiagnosticPropertiesBuilder,
)
fn debug_fill_properties( self: Handle<Self>, app: &App, properties: &mut DiagnosticPropertiesBuilder, )
Dart’s
debugFillProperties: the properties this state shows where its element’s dump
names it (state: ScrollableState#1a2b3(offset: 0.0)), after the lifecycle and mounting
properties State’s base adds, which the framework adds first.Source§impl TickerProviderObject for AnimatedDefaultTextStyleState
impl TickerProviderObject for AnimatedDefaultTextStyleState
Source§fn create_ticker(
self: Handle<Self>,
app: &mut App,
on_tick: TickerCallback,
) -> Ref<Ticker>
fn create_ticker( self: Handle<Self>, app: &mut App, on_tick: TickerCallback, ) -> Ref<Ticker>
Auto Trait Implementations§
impl !RefUnwindSafe for AnimatedDefaultTextStyleState
impl !Send for AnimatedDefaultTextStyleState
impl !Sync for AnimatedDefaultTextStyleState
impl !UnwindSafe for AnimatedDefaultTextStyleState
impl Forget for AnimatedDefaultTextStyleState
impl Freeze for AnimatedDefaultTextStyleStatewhere
*const RcInner<dyn Widget> is !null: Freeze,
PhantomData<RcInner<dyn Widget>>: Freeze,
NonZero<u32>: Freeze,
PhantomData<fn() -> StatefulElement>: Freeze,
PhantomData<fn() -> AnimatedDefaultTextStyle>: Freeze,
PhantomData<fn() -> Ticker>: Freeze,
*const RcInner<Keep> is !null: Freeze,
PhantomData<RcInner<Keep>>: Freeze,
*const RcInner<dyn ValueListenable<TickerModeData>> is !null: Freeze,
PhantomData<RcInner<dyn ValueListenable<TickerModeData>>>: Freeze,
PhantomData<fn() -> AnimationController>: Freeze,
PhantomData<fn() -> CurvedAnimation>: Freeze,
&'static dyn ColorExtension: Freeze,
*const RcInner<dyn ColorExtension> is !null: Freeze,
PhantomData<RcInner<dyn ColorExtension>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
*const RcInner<Paint> is !null: Freeze,
PhantomData<RcInner<Paint>>: Freeze,
PhantomData<Shadow>: Freeze,
PhantomData<FontFeature>: Freeze,
PhantomData<FontVariation>: Freeze,
impl Move for AnimatedDefaultTextStyleState
impl Unpin for AnimatedDefaultTextStyleState
impl UnsafeUnpin for AnimatedDefaultTextStyleStatewhere
*const RcInner<dyn Widget> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn Widget>>: UnsafeUnpin,
NonZeroU32Inner: UnsafeUnpin,
PhantomData<fn() -> StatefulElement>: UnsafeUnpin,
PhantomData<fn() -> AnimatedDefaultTextStyle>: UnsafeUnpin,
PhantomData<fn() -> Ticker>: UnsafeUnpin,
*const RcInner<Keep> is !null: UnsafeUnpin,
PhantomData<RcInner<Keep>>: UnsafeUnpin,
*const RcInner<dyn ValueListenable<TickerModeData>> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn ValueListenable<TickerModeData>>>: UnsafeUnpin,
PhantomData<fn() -> AnimationController>: UnsafeUnpin,
PhantomData<fn() -> CurvedAnimation>: UnsafeUnpin,
&'static dyn ColorExtension: UnsafeUnpin,
*const RcInner<dyn ColorExtension> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn ColorExtension>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const RcInner<Paint> is !null: UnsafeUnpin,
PhantomData<RcInner<Paint>>: UnsafeUnpin,
PhantomData<Shadow>: UnsafeUnpin,
PhantomData<FontFeature>: UnsafeUnpin,
PhantomData<FontVariation>: 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