lightGrayBox method

ColoredBox lightGrayBox()

Wraps the widget in a ColoredBox with light background gray color.

Uses CupertinoColors.lightBackgroundGray which provides a light gray background suitable for light mode interfaces or secondary backgrounds.

Returns a ColoredBox containing the current widget with light gray background.

Example:

Container(child: Text('Light Section')).lightGrayBox()

Implementation

ColoredBox lightGrayBox() => coloredBox(CupertinoColors.lightBackgroundGray);