resolveBackground method
Resolve a background color if none provided based on brightness.
Implementation
Color resolveBackground(Brightness brightness) =>
panelBackgroundColor ??
(brightness == Brightness.dark
? const Color(0xCC1E1E1E)
: const Color(0xCCFFFFFF));