nonsense_foil library

Classes

AnimatedFoil
An implicitly animated widget for Foil gradients.
Crinkle
Provide animation to a piece of Foil by wrapping it in a Roll with a specified Crinkle.
Foil
Foils
Pre-rolled Gradients for deployment as Foil.gradient or anywhere else a Gradient is called for.
FoilShader
PointerTracker
A widget that tracks pointer movements and reports normalized positions.
Roll
A widget that provides shared gradient and animation properties to descendant Foil widgets.
RolledOutFoil
An implicitly animated widget that handles position animations for foil effects.
RollState
State class for Roll that manages animations and provides properties to descendant Foil widgets.
Scalar
A Scalar provides an opportunity to scale axis-based double data. Default constructor takes named paramters per axis. Use Scalar.xy as a shortcut to only provide positional double values.
Sheet
A wrapper for the parameters that pertain to an Animated/Container.
StaticFoil
TranslateGradient
This class's transform method considers TextDirection and will consider positive values as translation to the right if ltr and translate left for positive values if rtl.

Typedefs

PointerCallback = void Function(double normalizedX, double normalizedY)
Function signature for callbacks that report normalized pointer position.
TransformGradient = GradientTransform Function(double x, double y)
The definition of a Function that positionally accepts a
double x then double y and returns a GradientTransform,
such as the default for this package: TranslateGradient.