modified: README.md

This commit is contained in:
stonegate 2020-04-18 13:27:43 +08:00
parent 1177d18b1a
commit c465be2470
3 changed files with 37 additions and 5 deletions

View File

@ -6,6 +6,7 @@
</br>
<img src="https://raw.githubusercontent.com/stonega/tsacdop/master/android/app/src/main/res/mipmap-xhdpi/text.png" art = "Tsacdop"/>
</p>
<a href='https://play.google.com/store/apps/details?id=com.stonegate.tsacdop&pcampaignid=pcampaignidMKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1'><img alt='Get it on Google Play' height=50 src='https://play.google.com/intl/en_us/badges/static/images/badges/en_badge_web_generic.png'/></a>
Enjoy podcasts with Tsacdop.
@ -15,8 +16,6 @@ Credit to flutter team and all involved plugins, especially [webfeed](https://g
The podcasts search engine is powered by [ListenNotes](https://listennotes.com).
<a href='https://play.google.com/store/apps/details?id=com.stonegate.tsacdop&pcampaignid=pcampaignidMKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1'><img alt='Get it on Google Play' src='https://play.google.com/intl/en_us/badges/static/images/badges/en_badge_web_generic.png'/></a>
## Features
* Subscriptoin group management
* Playlist support

View File

@ -100,7 +100,6 @@ class ListenedPainter extends CustomPainter {
..strokeCap = StrokeCap.round
..style = PaintingStyle.stroke;
Path _path = Path();
_path.moveTo(size.width / 6, size.height * 3 / 8);
_path.lineTo(size.width / 6, size.height * 5 / 8);
_path.moveTo(size.width / 3, size.height / 4);
@ -121,6 +120,40 @@ class ListenedPainter extends CustomPainter {
}
}
//Listened Completely indicator
class ListenedAllPainter extends CustomPainter {
Color _color;
double stroke;
ListenedAllPainter(this._color, {this.stroke = 1.0});
@override
void paint(Canvas canvas, Size size) {
Paint _paint = Paint()
..color = _color
..strokeWidth = stroke
..strokeCap = StrokeCap.round
..style = PaintingStyle.stroke;
Path _path = Path();
_path.moveTo(size.width / 6, size.height * 3 / 8);
_path.lineTo(size.width / 6, size.height * 5 / 8);
_path.moveTo(size.width / 3, size.height / 4);
_path.lineTo(size.width / 3, size.height * 3 / 4);
_path.moveTo(size.width / 2, size.height * 3 / 8);
_path.lineTo(size.width / 2, size.height * 5 / 8);
_path.moveTo(size.width * 2 / 3, size.height * 4 / 9);
_path.lineTo(size.width * 2 / 3, size.height * 5 / 9);
_path.moveTo(size.width / 2, size.height * 3 / 4);
_path.lineTo(size.width * 2 / 3, size.height * 7 / 8);
_path.lineTo(size.width * 7 / 8, size.height * 5 / 8);
canvas.drawPath(_path, _paint);
}
@override
bool shouldRepaint(CustomPainter oldDelegate) {
return true;
}
}
//Wave play indicator
class WavePainter extends CustomPainter {
double _fraction;

View File

@ -257,7 +257,7 @@ class EpisodeGrid extends StatelessWidget {
),
child: CustomPaint(
painter:
ListenedPainter(
ListenedAllPainter(
Colors.white,
)),
)