{"repo":"xmartlabs/flutter-template","free":true,"listed":false,"github":"https://github.com/xmartlabs/flutter-template","clone":"git clone https://github.com/xmartlabs/flutter-template.git","description":"Xmartlabs' Flutter Base Project","language":"Dart","stars":23,"topics":["dart","flutter","hacktoberfest","template"],"license":null,"category":"mobile-apps","readme_excerpt":"Xmartlabs' Flutter template Arch Overview The project is divided into two main folders: - The UI contains all app screens. - The Core contains the models and the data layer. The design system is located on a package called [design system][design system], UI section [Flutter Bloc][bloc] is used for state management, specifically, we use Cubit to manage the screen state. Each app section is added in a project folder which contains three components, the Screen (a StatelessWidget , the UI), the Cubit and the state. The MainScreen is the Widget that contains all screens. It defines the MaterialApp and provides the app router. The router has two subgraphs, the UnauthenticatedRouter used for unauthenticated users and the AuthenticatedRouter used for authenticated users. The [app router][app router] is provided by [auto route][auto route], and contains the previous sections with some nested screens. Core section The models are defined in the [models folder][models]. If you need to use different models for database or networking, you can create them in db and service folders respectively. The repository pattern is used to manage the data layer. A [repository][repository folder] uses different [data sources][data source folder] (for example a local cache or a REST API). These components are injected in the Cubits using [get it][get it]. Project Overview Assets The /assets/ folder contains the assets used by the application, such as images, fonts, and other files. Environments The envir","default_branch":null,"files":null,"tree":[],"storefront":"/r/xmartlabs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/xmartlabs/flutter-template/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}