Open danielgomezrico opened 3 years ago
Sometimes there are icons that works for android but on iOS are different by their patterns, like share button:
Android:
iOS:
It will be cool if we can check from the UI if there are multiple version of the same icon per platform, and then it generates something like:
static const IconData ic_share_android = IconData(0xe80f, fontFamily: _kFontFam, fontPackage: _kFontPkg); static const IconData ic_share_ios = IconData(0xe82a, fontFamily: _kFontFam, fontPackage: _kFontPkg); static IconData get ic_share { return Platform.isIOS ? ic_share_ios : ic_share_android; }
So the code should check the platform by himself "automatically" and show the proper icon on each side.
That's just an Idea that may help in the proccess
Sometimes there are icons that works for android but on iOS are different by their patterns, like share button:
Android:
iOS:
It will be cool if we can check from the UI if there are multiple version of the same icon per platform, and then it generates something like:
So the code should check the platform by himself "automatically" and show the proper icon on each side.
That's just an Idea that may help in the proccess