percent method

double? percent(
  1. String path
)

The share (0 to 1) at path, written 12% or 0.12.

Implementation

double? percent(String path) => read(
  path,
  ThemeValues.percent,
  'a percent: 0% to 100%, or 0 to 1',
);