resolveBackground method

Color resolveBackground(
  1. Brightness brightness
)

Resolve a background color if none provided based on brightness.

Implementation

Color resolveBackground(Brightness brightness) =>
    panelBackgroundColor ??
    (brightness == Brightness.dark
        ? const Color(0xF5222936)
        : const Color(0xFDFEFFff));