surface method

Color surface(
  1. BuildContext context
)

Panel color resolved from the theme.

Implementation

Color surface(BuildContext context) => surfaceColor ?? Theme.of(context).colorScheme.surface.withValues(alpha: 0.9);