favicon 1.0.9 favicon: ^1.0.9 copied to clipboard
Library for finding favicons in a website, either in a <link> or by predefined URL.
import 'package:favicon/favicon.dart';
main() async {
var urls = [
'https://www.aftonbladet.se',
'https://www.braziltravelblog.com',
'https://www.mashable.com',
'https://tradevenue.se/miljonarinnan30',
'https://github.com/',
'https://www.businessinsider.com/',
'https://www.mrmoneymustache.com/',
'https://thedividendstory.com/',
'http://dailybeast.com',
'https://www.traveldailynews.com/',
'https://www.tenable.com/blog-rss',
'http://blog.tenablesecurity.com/atom.xml' // Should fail and yield null
];
for (var url in urls) {
print(await Favicon.getBest(url));
}
}