auris library

Auris — a Flutter UI kit and Material 3 theme system with a warm amber-on-near-black, chamfered "augmentation-era" sci-fi aesthetic.

This is the primary entry point: it exports the design tokens, the resolved scheme, and the AurisTheme factory used to skin a Material application.

The custom HUD widget library is exported separately from package:auris/auris_widgets.dart.

Classes

AurisBevelScale
The bevel (chamfer) scale, expressed as semantic roles rather than the raw primitive sizes, so a customization override can multiply the whole scale at once.
AurisChamferBorder
The signature Auris corner geometry: an asymmetric 45° chamfer that cuts only the top-left and bottom-right corners, leaving the top-right and bottom-left square (§spec:design-tokens "Shape", §spec:theme-layer).
AurisChamferInputBorder
The text-field counterpart of AurisChamferBorder.
AurisDepth
A resolved depth cue — the concrete result of requesting depth by intent.
AurisScheme
The single resolved design scheme every Auris consumer reads.
AurisSlantBorder
An OutlinedBorder tracing the aurisSlantPath parallelogram, so a slanted surface can carry a border and a depth glow that follow the lean. The counterpart of AurisChamferBorder for data controls.
AurisTheme
Factory for the Auris ThemeData.
AurisTokens
Primitive design tokens — the lowest tier of the two-tier design model.
ChamferClipper
A CustomClipper that clips a child to the signature Auris notched silhouette — the asymmetric 45° chamfer cutting only the top-left and bottom-right corners (§spec:design-tokens "Shape").
SlantClipper
Clips a child to the aurisSlantPath parallelogram. Used by progress segments and the switch so the clipped fill matches the slanted outline.

Functions

aurisChamferPath(Rect rect, double cut) Path
The signature Auris notched polygon for rect: a six-vertex path cutting only the top-left and bottom-right corners by cut (clamped per-rect).
aurisEffectiveChamferCut(Rect rect, double cut) double
The effective chamfer cut for rect: cut clamped to half the shorter side so a large bevel on a small rect degrades gracefully instead of self-crossing.
aurisSlantPath(Rect rect, double slant) Path
The signature Auris slant path for rect: a right-leaning parallelogram whose top edge starts slant in from the left and whose bottom edge ends slant short of the right, so both vertical edges lean the same way.
lerpDouble(double a, double b, double t) double
Non-nullable lerpDouble for the bevel scale, where all inputs are concrete.