Sort icon last (#76992)

This commit is contained in:
creativecreatorormaybenot 2021-03-04 19:34:19 +00:00 committed by GitHub
parent 67edb63d84
commit 8988c4e14c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -144,7 +144,6 @@ class IconButton extends StatelessWidget {
this.padding = const EdgeInsets.all(8.0), this.padding = const EdgeInsets.all(8.0),
this.alignment = Alignment.center, this.alignment = Alignment.center,
this.splashRadius, this.splashRadius,
required this.icon,
this.color, this.color,
this.focusColor, this.focusColor,
this.hoverColor, this.hoverColor,
@ -158,6 +157,7 @@ class IconButton extends StatelessWidget {
this.tooltip, this.tooltip,
this.enableFeedback = true, this.enableFeedback = true,
this.constraints, this.constraints,
required this.icon,
}) : assert(iconSize != null), }) : assert(iconSize != null),
assert(padding != null), assert(padding != null),
assert(alignment != null), assert(alignment != null),