-
Notifications
You must be signed in to change notification settings - Fork 0
/
backup sources.txt
34 lines (34 loc) · 1.32 KB
/
backup sources.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
LikeButton(
crossAxisAlignment: CrossAxisAlignment.end,
size: 8,
circleColor:
CircleColor(start: Colors.orangeAccent, end: Colors.orange),
bubblesColor: BubblesColor(
dotPrimaryColor: Colors.pinkAccent,
dotSecondaryColor: Colors.pink,
),
likeBuilder: (bool isLiked) {
return Icon(
Icons.favorite,
color: isLiked ? Colors.pinkAccent : Colors.grey,
size: 20,
);
},
likeCount: 0,
countPostion: CountPostion.left,
countBuilder: (int count, bool isLiked, String text) {
var color = isLiked ? Colors.pinkAccent : Colors.grey;
Widget result;
if (count == 0) {
result = Text(
"",
style: TextStyle(color: color),
);
} else
result = Text(
text,
style: TextStyle(color: color),
);
return result;
},
),