Skip to content

Commit

Permalink
Merge pull request #21 from azhansy/master
Browse files Browse the repository at this point in the history
fix: Operator '+' cannot be called on 'double?';
  • Loading branch information
suragch authored Feb 10, 2022
2 parents 0925267 + 5cb9df4 commit dda53b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/button/mongol_icon_button.dart
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ class MongolIconButton extends IconButton {
radius: splashRadius ??
math.max(
Material.defaultSplashRadius,
(iconSize + math.min(padding.horizontal, padding.vertical)) * 0.7,
((iconSize ?? 24) + math.min(padding.horizontal, padding.vertical)) * 0.7,
// x 0.5 for diameter -> radius and + 40% overflow derived from other Material apps.
),
),
Expand Down

0 comments on commit dda53b2

Please sign in to comment.