bigbadbob2003 / flutter_tabler_icons Goto Github PK
View Code? Open in Web Editor NEWThe Tabler Icons (https://github.com/tabler/tabler-icons) pack available as a set of Flutter Icons.
License: MIT License
The Tabler Icons (https://github.com/tabler/tabler-icons) pack available as a set of Flutter Icons.
License: MIT License
When using an icon inside a CircleAvatar
, TablerIcons
have a small undesired offset compared to Material Design ones.
CircleAvatar(
child: Icon(
Icons.check,
size: 24.0,
),
),
vs
CircleAvatar(
child: Icon(
TablerIcons.check,
size: 24.0,
),
),
When I'm writing golden tests, I need to import the tabler-icons.ttf font into my tests through the following code:
const _tablerIconsPath = [
'packages/flutter_tabler_icons/assets/fonts/tabler-icons.ttf'
];
// I will call _loadFonts() in my tests
Future<void> _loadFonts() async {
final tablerIconsFontLoader =
FontLoader('packages/flutter_tabler_icons/TablerIcons');
for (final path in _tablerIconsPath) {
tablerIconsFontLoader.addFont(rootBundle.load(path));
}
await tablerIconsFontLoader.load();
}
If I don't do this, the Tabler icons are not loaded into the screen and they show up as squares in my golden tests.
However, I'm unable to access the assets/fonts/tabler-icons.ttf
because it's not within a lib
folder. The Flutter docs state that the files need to be within the lib
folder.
Is it possible to shift the tabler-icons.ttf
into lib/fonts/
so that I can access them in my golden tests?
Thanks!
In tabler icons website (https://tabler-icons.io/), it's possible to choose the stroke width in the library? Seems like they have a default 1 stroke, would be really nice a way to change that. Thank you very much
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.