spatial_card library

A high-performance Flutter package for building 3D tactile interactive cards, multi-plane parallax surfaces, physical specular lighting, and holographic materials.

Implementation by Govind Tank.

Classes

SpatialCard
A 3D tactile interactive card widget featuring multi-plane depth parallax, physical specular lighting, material shaders, and spring motion dynamics.
SpatialCardStack
A 3D stacked deck of spatial cards with progressive depth scaling, defocus opacity, and swipeable elevation.
SpatialConfig
Controls the 3D perspective, tilt limits, lighting, and physical dynamics of a SpatialCard.
SpatialContainer
A lightweight 3D spatial decorator that wraps any arbitrary child widget with interactive perspective tilt, specular surface sheen, and tactile dynamics.
SpatialController
Controller for programmatically driving SpatialCard tilt, flips, and lighting.
SpatialFlipCard
A double-sided 3D card widget that smoothly flips between front and back while maintaining continuous 3D perspective and dynamic lighting.
SpatialLayer
Represents an independent visual plane on a SpatialCard elevated at a specific Z-depth.
SpatialMaterial
Defines the surface texture, specular reflectivity, and chromatic sheen of a SpatialCard.
SpatialSurfacePainter
High-performance Canvas painter rendering physical material textures, dynamic specular highlights, chromatic dispersion, and border bevels.

Enums

FlipAxis
Flip axis for SpatialFlipCard.
LightTrackingMode
Determines what drives the light reflection and 3D tilt coordinates.
SurfacePattern
Surface micro-texture patterns rendered onto the material base.