1

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


独立开发者_猫哥
669 声望129 粉丝