Unverified Commit 3eee6404 authored by Valentin Vignal's avatar Valentin Vignal Committed by GitHub

📝 Use Icon() in IconButton.color documentation (#107819)

parent d8b9d5d1
......@@ -277,7 +277,7 @@ class IconButton extends StatelessWidget {
/// IconButton(
/// color: Colors.blue,
/// onPressed: _handleTap,
/// icon: Icons.widgets,
/// icon: Icon(Icons.widgets),
/// )
/// ```
final Color? color;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment