tealBox method

ColoredBox tealBox()

Wraps the widget in a ColoredBox with system teal color.

Uses CupertinoColors.systemTeal which adapts to light/dark mode. This is the standard teal color used throughout iOS interfaces, often used for communication or water-themed elements.

Returns a ColoredBox containing the current widget with teal background.

Example:

Icon(CupertinoIcons.phone).tealBox()

Implementation

ColoredBox tealBox() => coloredBox(CupertinoColors.systemTeal);