resolvedPrimaryColor method

Color resolvedPrimaryColor(
  1. BuildContext context
)

Resolves colors using the given BuildContext theme or defaults.

Implementation

Color resolvedPrimaryColor(BuildContext context) =>
    primaryColor ?? Theme.of(context).colorScheme.primary;