overlayStyle method
The overlay style of the status bar: light or dark.
Implementation
SystemUiOverlayStyle? overlayStyle(String name) => _plain(
name,
'one of: light | dark',
(path) => _leaf(
path,
(raw) => switch (ThemeValues.canonical(raw)) {
'light' => SystemUiOverlayStyle.light,
'dark' => SystemUiOverlayStyle.dark,
_ => null,
},
'light or dark',
),
);