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 { ...@@ -277,7 +277,7 @@ class IconButton extends StatelessWidget {
/// IconButton( /// IconButton(
/// color: Colors.blue, /// color: Colors.blue,
/// onPressed: _handleTap, /// onPressed: _handleTap,
/// icon: Icons.widgets, /// icon: Icon(Icons.widgets),
/// ) /// )
/// ``` /// ```
final Color? color; 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