onSurface method

Color onSurface(
  1. BuildContext context
)

Panel text color resolved from the theme.

Implementation

Color onSurface(BuildContext context) => onSurfaceColor ?? Theme.of(context).colorScheme.onSurface;