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.alignment = Alignment.center,
this.splashRadius,
required this.icon,
this.color,
this.focusColor,
this.hoverColor,
@ -158,6 +157,7 @@ class IconButton extends StatelessWidget {
this.tooltip,
this.enableFeedback = true,
this.constraints,
required this.icon,
}) : assert(iconSize != null),
assert(padding != null),
assert(alignment != null),