Skip to content

opa_rfsFluid responsive sizing for Flutter

Scale typography, spacing, radii, shadows, and complete text themes smoothly between intentional endpoints.

opa_rfs

A responsive value in one line

dart
Text(
  'Fluid headline',
  style: TextStyle(
    fontSize: Rfs.contextValue(context, 64, min: 36),
  ),
)

At wide layouts the headline reaches 64. As space narrows, it eases toward 36 and never overshoots either endpoint.

Use the getting-started guide for installation, visit the interactive playground to see the curve change live, or jump straight to the generated API reference.

Released under the MIT License.