|
1 |
| -<!-- |
2 |
| -This README describes the package. If you publish this package to pub.dev, |
3 |
| -this README's contents appear on the landing page for your package. |
| 1 | +# Catalog' Flutter template |
4 | 2 |
|
5 |
| -For information about how to write a good package README, see the guide for |
6 |
| -[writing package pages](https://dart.dev/guides/libraries/writing-package-pages). |
7 |
| -
|
8 |
| -For general information about developing packages, see the Dart guide for |
9 |
| -[creating packages](https://dart.dev/guides/libraries/create-library-packages) |
10 |
| -and the Flutter guide for |
11 |
| -[developing packages and plugins](https://flutter.dev/developing-packages). |
12 |
| ---> |
13 |
| - |
14 |
| -TODO: Put a short description of the package here that helps potential users |
15 |
| -know whether this package might be useful for them. |
| 3 | +Catalog is a Flutter package that provides a base implementation for UX/UI components based on the [design template of Xmartlabs][figma]. |
| 4 | +It aims to simplify and expedite the development process for Flutter projects, ensuring a consistent and visually appealing user interface. |
16 | 5 |
|
17 | 6 | ## Features
|
18 | 7 |
|
19 |
| -TODO: List what your package can do. Maybe include images, gifs, or videos. |
| 8 | +- Ready-to-use main UI components inspired by Xmartlabs design principles. |
| 9 | +- Customizable components to fit your project's specific requirements. |
20 | 10 |
|
21 | 11 | ## Getting started
|
22 | 12 |
|
23 |
| -TODO: List prerequisites and provide or point to information on how to |
24 |
| -start using the package. |
| 13 | +### Installation |
25 | 14 |
|
26 |
| -## Usage |
| 15 | +Integrate the package in your project, adding the following line to your `pubspec.yaml` file: |
27 | 16 |
|
28 |
| -TODO: Include short and useful examples for package users. Add longer examples |
29 |
| -to `/example` folder. |
30 |
| - |
31 |
| -```dart |
32 |
| -const like = 'sample'; |
| 17 | +```yaml |
| 18 | +dependencies flutter: |
| 19 | + catalog: |
| 20 | + path: ../ |
33 | 21 | ```
|
34 | 22 |
|
35 |
| -## Additional information |
| 23 | +## Arch Overview |
| 24 | +
|
| 25 | +The catalog project is organized into a singular folder named 'Theme.' |
| 26 | +Within the [theme folder][theme], various files contribute to the overall theme definition: |
| 27 | +
|
| 28 | +- App Theme: |
| 29 | +This file outlines the app's styles, encompassing elements such as the app bar, dialogs, radio buttons, and other components. |
| 30 | +
|
| 31 | +- App Buttons: |
| 32 | +Styles for the default buttons of the app are defined within this file. |
| 33 | +
|
| 34 | +- App Color Scheme: |
| 35 | +Default color schemes for the app are established in this file. |
| 36 | +
|
| 37 | +- Custom Colors: |
| 38 | +As a Theme Extension, this file incorporates custom colors specific to the app. |
| 39 | +
|
| 40 | +- App Dimensions: |
| 41 | +Default dimensions for various elements within the app are specified in this file. |
| 42 | +
|
| 43 | +- App Text Styles: |
| 44 | +Default text styles across the app are defined in this file. |
| 45 | +
|
| 46 | +- Custom Text Styles: |
| 47 | +As another Theme Extension, this file articulates the custom text styles unique to the app. |
| 48 | +
|
| 49 | +This organized structure within the 'Theme' folder ensures a systematic approach to managing and defining the visual aspects of the app. |
| 50 | +
|
| 51 | +### Contributing |
| 52 | +We welcome contributions! If you find a bug or have a feature request, please open an [issue]. |
36 | 53 |
|
37 |
| -TODO: Tell users more about the package: where to find more information, how to |
38 |
| -contribute to the package, how to file issues, what response they can expect |
39 |
| -from the package authors, and more. |
| 54 | +[issue]: https://github.com/xmartlabs/flutter-template/issues |
| 55 | +[theme]: https://github.com/xmartlabs/flutter-template/tree/main/lib/ui/theme |
| 56 | +[figma]: https://www.figma.com/file/OWDUY4WaDjyfiOE6Z8mfsC/XL---Tourmaline?node-id=0%3A1&mode=dev |
0 commit comments