Erweiterungen
This commit is contained in:
1 parent
ebe61c1674
commit
e3d5ddf7e6
1 file changed
+3
-3
@@ -79,18 +79,18 @@ Future<List<Widget>> _createListEntries() async {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
child: badges.Badge(
|
child: badges.Badge(
|
||||||
position: badges.BadgePosition.topEnd(top: -10, end: -5),
|
position: badges.BadgePosition.topEnd(top: -13, end: -5),
|
||||||
showBadge: true,
|
showBadge: true,
|
||||||
badgeContent: const Text(
|
badgeContent: const Text(
|
||||||
'Neu',
|
'Neu',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
fontSize: 10.0,
|
fontSize: 18.0,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
badgeStyle: badges.BadgeStyle(
|
badgeStyle: badges.BadgeStyle(
|
||||||
shape: badges.BadgeShape.square,
|
shape: badges.BadgeShape.square,
|
||||||
badgeColor: Colors.green,
|
badgeColor: Constants.colorPrimary,
|
||||||
padding: const EdgeInsets.all(5),
|
padding: const EdgeInsets.all(5),
|
||||||
borderRadius: BorderRadius.circular(5),
|
borderRadius: BorderRadius.circular(5),
|
||||||
borderSide: const BorderSide(color: Constants.colorPrimary, width: 0),
|
borderSide: const BorderSide(color: Constants.colorPrimary, width: 0),
|
||||||
|
|||||||
Reference in new issue
Block a user