fluent2Rail function

Color fluent2Rail(
  1. Fluent2ThemeData t
)

The rail a measure runs in (a progress bar's track, a step bar's steps to come, a rating's unfilled stars): Fluent's neutralBackground6. By day it is laid over its ground as Fluent's step from white (#E6E6E6 on a card, 10% ink), so the brand-tinted ground never swallows it; by night the token, lighter than every ground.

Implementation

Color fluent2Rail(Fluent2ThemeData t) => t.brightness == Brightness.dark
    ? t.colors.neutralBackground6
    : const Color(0x1A000000);