ThemeAnimationFormat
Defines the visual format and behavior of theme transition animations.
Implementations of this interface determine how the theme change is animated, including clipping shapes, masking, and visual effects. Each format provides a unique way to transition between light and dark themes.
The implementations contained in this file are some commonly-used formats. Implement your own ThemeAnimationFormat to further customize animation behavior.
Inheritors
Types
A circular reveal animation format that expands from the center of the screen.
A circular reveal animation format that expands from the button press position.
A crossfade animation format that gradually fades between themes.
A sliding animation format that reveals the new theme from left to right.
Functions
Draws the animated layer during a theme transition.