duo_animation library
iPhone Duo style tilt-driven frosted-glass fold effect.
See DuoFold for the widget entry point and DuoFoldParameters for the
physical tuning knobs.
Classes
- DuoFold
- Renders child behind a hinged pane of frosted glass.
- DuoFoldConstraints
- Which fold directions a widget will respond to.
- DuoFoldController
- Owns the sensor subscription and the tilt filter, and exposes the result as a ChangeNotifier a widget can listen to.
- DuoFoldDisplayMetrics
- Physical facts about the display and the sensors behind it.
- DuoFoldMotion
- A DuoFold driven by a DuoFoldController.
- DuoFoldParameters
- Physical parameters of the frosted-glass fold.
- DuoMotionSource
- Where orientation samples come from.
- FakeMotionSource
- A source the caller drives, for tests and for emulator fallback.
- FoldMotionModel
- Turns a stream of orientation samples into a smoothed, self-zeroing tilt.
- FoldState
- The filter's output: a tilt magnitude and the direction the far edge lifts toward.
- MotionSample
- One orientation reading, already reduced to screen axes by the native side.
Enums
- DuoFoldHinge
- Which edge a pane hinges on.
Exceptions / Errors
- DuoFoldShaderError
- Thrown when the fragment program fails to load or compile.
- DuoFoldUnsupportedError
- Thrown when the effect cannot run on the current platform or renderer.