FluvieContext extension

The context.fluvie accessor: the design tokens elements read for color, type, and motion.

It resolves the nearest FluvieTokensScope, falling back to const FluvieTokens.fallback() when none is present, so it always returns a usable theme:

final color = context.fluvie.palette.colorAt(seriesIndex);

The returned FluvieTokens is the full surface a FluvieTheme mounts: the chart-series palette plus the axis / grid / label colors, the code / mermaid / captions themes, and the brand Palette (context.fluvie.brand), TypeScale (context.fluvie.type), and motion Defaults of the brand group.

on

Properties

fluvie FluvieTokens

Available on BuildContext, provided by the FluvieContext extension

The design tokens visible at this context (the nearest scope or the package fallback).
no setter