current method

Color current(
  1. BuildContext context
)

Current color resolved from the theme.

Implementation

Color current(BuildContext context) => currentColor ?? Theme.of(context).colorScheme.primary;