> ## Documentation Index
> Fetch the complete documentation index at: https://starrycodes.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Scaffold - System UI Control

> Wraps a Scaffold in an AnnotatedRegion to customize the appearance and icon brightness of the system status bar and navigation bar overlays.

### 1. 🎨 System Overlay Styling

**addAnnotatedRegion(\{Color? statusBarColor, Brightness? statusBarBrightness, Color? navigationBarColor, Brightness? navigationBarBrightness})** `Widget`

**Parameters**

**statusBarColor** `Color?` (default: null)

The `background color` of the status bar overlay.

**statusBarBrightness** `Brightness?` (default: null)

Controls the `brightness` of status bar icons (e.g., `Brightness.light` for dark icons, `Brightness.dark` for light icons).

**navigationBarColor** `Color?` (default: null)

The `background color` of the system navigation bar (bottom bar on Android).

**navigationBarBrightness** `Brightness?` (default: null)

Controls the `brightness` of the navigation bar icons.

Wraps the `Scaffold` in an `AnnotatedRegion` to customize the system status bar and navigation bar overlays.

```dart lines wrap theme={"theme":{"light":"github-light","dark":"github-dark-dimmed"}}
// Ensures status bar icons (clock, battery) are white/light:
return myScaffold.addAnnotatedRegion(
  statusBarBrightness: Brightness.light, // Controls icon/text color
  statusBarColor: Colors.black,          // Status bar background color
);
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.