We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
IconButton.iconSize
1 parent 55eb5e1 commit 615dd96Copy full SHA for 615dd96
packages/flutter/lib/src/material/icon_button.dart
@@ -310,6 +310,9 @@ class IconButton extends StatelessWidget {
310
/// [Icon.size] instead, then the [IconButton] would default to 24.0 and then
311
/// the [Icon] itself would likely get clipped.
312
///
313
+ /// This property is only used when [icon] is or contains an [Icon] widget. It will be
314
+ /// ignored if other widgets are used, such as an [Image].
315
+ ///
316
/// If [ThemeData.useMaterial3] is set to true and this is null, the size of the
317
/// [IconButton] would default to 24.0. The size given here is passed down to the
318
/// [ButtonStyle.iconSize] property.
0 commit comments