![Alexandru Mariuti Profile](https://pbs.twimg.com/profile_images/1742152552601321472/j77eI_Fd_x96.png)
Alexandru Mariuti
@nank1ro
Followers
1K
Following
5K
Statuses
2K
🇮🇹 Flutter Developer 💙 Solopreneur | https://t.co/ghe6YbmlKM Learn To Code | https://t.co/SVY1jc7Ajc | OpenSource solidart, flutter-shadcn-ui, disco
Remote
Joined January 2021
@RydMike @mickrich384 @michael_lazebny I remember I tried to add Color.fromHex and Color.toHex without success. Because there is no way to extend a class with a static methods. So withOpacity can be added back with an extension?
1
0
2
@RydMike @caseycrogers Yes I'm making it stunning among others in a branch I'm working, you'll see when I release the v2
0
0
1
@mickrich384 @michael_lazebny Or unless the solution can be already solved with some basic extensions. But for the Color class extensions do not work unfortunately if I remember correctly 🥲
1
0
0
@caseycrogers If a user needs a different ways to change a signal value, (s)he can write extensions. Will provide a very simple but extensible API
1
0
3
@caseycrogers You can always access synchronously the value of a resource. Not like Streams where you need RxDart with a BehaviorSubject or caching the value.
1
0
4
@SEGVeenstra @codeonsunday @nankiro In reality it's impossible not to use (import) material, the Color class for example is exported by material. BTW, no big impact. If you use ShadApp, WidgetsApp is used internally. If you use ShadApp.material, MaterialApp is used instead.
1
0
2
@SEGVeenstra @codeonsunday @nankiro yeah, exactly what he said. No need to reinvent the wheel for each component
1
0
0