phase3: badges 2.x->3.x migration (badgeStyle/animation), SearchBar/onPrimary fixes. 596->580
This commit is contained in:
@@ -449,7 +449,7 @@ class ShopState extends State<Shop>
|
||||
'${_business.commentsCount}',
|
||||
style: TextStyle(color: Colors.white, fontSize: 11.0),
|
||||
),
|
||||
badgeColor: Colors.lightBlueAccent,
|
||||
badgeStyle: BadgeStyle(badgeColor: Colors.lightBlueAccent),
|
||||
child: Text(S.of(context).comments),
|
||||
),
|
||||
),
|
||||
@@ -1188,7 +1188,7 @@ class ShopState extends State<Shop>
|
||||
fontSize: 11.0,
|
||||
),
|
||||
),
|
||||
animationType: BadgeAnimationType.scale,
|
||||
animation: BadgeAnimation.scale(),
|
||||
),
|
||||
);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user