flutter_shaders
library
Typedefs
-
AnimatedSamplerBuilder
= void Function(Image image, Size size, Canvas canvas)
-
A callback for the AnimatedSamplerBuilder widget.
-
ShaderBuilderCallback
= Widget Function(BuildContext, FragmentShader, Widget?)
-
A callback used by ShaderBuilder.
-
ShaderConfigCallback
= void Function(FragmentShader shader, {required double animation, required Color color, required Offset position, required Size referenceBoxSize, required double targetRadius, required TextDirection textDirection})
-
A callback used by the ShaderInkFeature to configure the fragment shader
on each frame of the inkwell animation.