ground property

Color? get ground

The ground the theme draws on: its page, surface or primaryBackground, else its paper (background, bg, ground).

Implementation

Color? get ground {
  for (final n in const ['page', 'surface', 'primaryBackground', 'paper', 'background', 'bg', 'ground']) {
    if (color(n) case final Color c) return c;
  }
  return null;
}