text
1. Separate the init operation from the main function to make it clearer
2. You can simply manage such GetX routing without any trouble
- usage
Get.toNamed(Routes.login);
- How to do it
3. You can also manage your style in one place
- usage
// S stands for Styles
S.colors.red
S.textStyles.f10Medium
S.shadows.softShadow
- How to do it
4. Manage your resources like a boss
- usage
// R stands for Resources// Animations
R.anims.loading// SVG images
R.icons.logo// `mages
R.images.
- How to do it
5. Centrally manage your constants
- usage
// C stands for Constants
C.title
C.names
C.descp
- How to do it
6. Build your utils, we use all the time in one place
- usage
Utils.formatDate(date,locale);
Utils.formatters.onlyTwoDecimalDigits;
Utils.show.dialog();
- How to do it
© Cat brother
- https://ducafecat.tech/
- https://github.com/ducafecat
- WeChat group ducafecat
- b Station https://space.bilibili.com/404904528
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。