-
Notifications
You must be signed in to change notification settings - Fork 271
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🎨 Package Structure and Code Improvement
- Fixed the package structure to not expose all files under lib folder to end users. - Created appropriate files for constants, asset paths, enumerations, etc. - Removed raw string from codebase and moved to constants.dart. - Moved text field validators to validators.dart. - Utilised typedefs instead of raw function definitions in the codebase.
- Loading branch information
1 parent
35650cc
commit 0454ba6
Showing
31 changed files
with
789 additions
and
699 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
library flutter_credit_card; | ||
|
||
export 'credit_card_form.dart'; | ||
export 'credit_card_model.dart'; | ||
export 'credit_card_widget.dart'; | ||
export 'custom_card_type_icon.dart'; | ||
export 'floating_animation/floating_config.dart'; | ||
export 'glassmorphism_config.dart'; | ||
export 'src/credit_card_form.dart'; | ||
export 'src/credit_card_widget.dart'; | ||
export 'src/floating_animation/floating_config.dart'; | ||
export 'src/models/credit_card_brand.dart'; | ||
export 'src/models/credit_card_model.dart'; | ||
export 'src/models/custom_card_type_icon.dart'; | ||
export 'src/models/glassmorphism_config.dart'; | ||
export 'src/utils/enumerations.dart' show CardType; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.