feat/split-components-and-layouts #65
| @ -14,12 +14,8 @@ | |||||||
| // You should have received a copy of the GNU General Public License | // You should have received a copy of the GNU General Public License | ||||||
| // along with this program. If not, see <https://www.gnu.org/licenses/>. | // along with this program. If not, see <https://www.gnu.org/licenses/>. | ||||||
| 
 | 
 | ||||||
| 
 |  | ||||||
| import 'package:flutter/material.dart'; | import 'package:flutter/material.dart'; | ||||||
| 
 | 
 | ||||||
| import 'package:wyatt_wyatt_ui_components/wyatt_wyatt_ui_components.dart'; |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| void main() { | void main() { | ||||||
|   runApp(const MyApp()); |   runApp(const MyApp()); | ||||||
| } | } | ||||||
| @ -39,9 +35,8 @@ class MyApp extends StatelessWidget { | |||||||
|         appBar: AppBar( |         appBar: AppBar( | ||||||
|           title: const Text('Wyatt Ui Components Example'), |           title: const Text('Wyatt Ui Components Example'), | ||||||
|         ), |         ), | ||||||
|         body: Center(child: Text(wyatt())), |         body: const Center(child: Text('')), | ||||||
|       ), |       ), | ||||||
|     ); |     ); | ||||||
|   } |   } | ||||||
| } | } | ||||||
| 
 |  | ||||||
|  | |||||||
| @ -32,7 +32,7 @@ dependencies: | |||||||
|     sdk: flutter |     sdk: flutter | ||||||
|    |    | ||||||
|    |    | ||||||
|   wyatt_wyatt_ui_components: |   wyatt_ui_components: | ||||||
|     path: "../" |     path: "../" | ||||||
| 
 | 
 | ||||||
| dev_dependencies: | dev_dependencies: | ||||||
|  | |||||||
| @ -15,8 +15,7 @@ | |||||||
| // along with this program. If not, see <https://www.gnu.org/licenses/>. | // along with this program. If not, see <https://www.gnu.org/licenses/>. | ||||||
| 
 | 
 | ||||||
| import 'package:flutter/material.dart'; | import 'package:flutter/material.dart'; | ||||||
| import 'package:wyatt_wyatt_ui_layout/src/features/component_theme.dart'; | import 'package:wyatt_ui_components/src/features/features.dart'; | ||||||
| import 'package:wyatt_wyatt_ui_layout/src/features/component_theme_data.dart'; |  | ||||||
| 
 | 
 | ||||||
| extension ThemeComponentBuildContext on BuildContext { | extension ThemeComponentBuildContext on BuildContext { | ||||||
|   ComponentThemeData get components => ComponentTheme.of(this); |   ComponentThemeData get components => ComponentTheme.of(this); | ||||||
| @ -15,7 +15,7 @@ | |||||||
| // along with this program. If not, see <https://www.gnu.org/licenses/>. | // along with this program. If not, see <https://www.gnu.org/licenses/>. | ||||||
| 
 | 
 | ||||||
| import 'package:flutter/material.dart'; | import 'package:flutter/material.dart'; | ||||||
| import 'package:wyatt_wyatt_ui_layout/src/features/component_theme_data.dart'; | import 'package:wyatt_ui_components/src/features/features.dart'; | ||||||
| 
 | 
 | ||||||
| class ComponentTheme extends StatelessWidget { | class ComponentTheme extends StatelessWidget { | ||||||
|   final Widget child; |   final Widget child; | ||||||
| @ -14,7 +14,7 @@ | |||||||
| // You should have received a copy of the GNU General Public License | // You should have received a copy of the GNU General Public License | ||||||
| // along with this program. If not, see <https://www.gnu.org/licenses/>. | // along with this program. If not, see <https://www.gnu.org/licenses/>. | ||||||
| 
 | 
 | ||||||
| import 'package:wyatt_wyatt_ui_layout/src/domain/entities/components.dart'; | import 'package:wyatt_ui_components/src/domain/entities/components.dart'; | ||||||
| 
 | 
 | ||||||
| class ComponentThemeData { | class ComponentThemeData { | ||||||
|   final AppBarComponent appBar; |   final AppBarComponent appBar; | ||||||
| @ -1,17 +0,0 @@ | |||||||
| // Copyright (C) 2022 WYATT GROUP |  | ||||||
| // Please see the AUTHORS file for details. |  | ||||||
| // |  | ||||||
| // This program is free software: you can redistribute it and/or modify |  | ||||||
| // it under the terms of the GNU General Public License as published by |  | ||||||
| // the Free Software Foundation, either version 3 of the License, or |  | ||||||
| // any later version. |  | ||||||
| // |  | ||||||
| // This program is distributed in the hope that it will be useful, |  | ||||||
| // but WITHOUT ANY WARRANTY; without even the implied warranty of |  | ||||||
| // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |  | ||||||
| // GNU General Public License for more details. |  | ||||||
| // |  | ||||||
| // You should have received a copy of the GNU General Public License |  | ||||||
| // along with this program. If not, see <https://www.gnu.org/licenses/>. |  | ||||||
| 
 |  | ||||||
| String wyatt() => "wyatt_wyatt_ui_components"; |  | ||||||
| @ -14,4 +14,7 @@ | |||||||
| // You should have received a copy of the GNU General Public License | // You should have received a copy of the GNU General Public License | ||||||
| // along with this program. If not, see <https://www.gnu.org/licenses/>. | // along with this program. If not, see <https://www.gnu.org/licenses/>. | ||||||
| 
 | 
 | ||||||
| export 'package.dart'; | export 'core/core.dart'; | ||||||
|  | export 'core/core.dart'; | ||||||
|  | export 'domain/domain.dart'; | ||||||
|  | export 'features/features.dart'; | ||||||
|  | |||||||
| @ -15,6 +15,6 @@ | |||||||
| // along with this program. If not, see <https://www.gnu.org/licenses/>. | // along with this program. If not, see <https://www.gnu.org/licenses/>. | ||||||
| 
 | 
 | ||||||
| /// Wyatt Ui Components | /// Wyatt Ui Components | ||||||
| library wyatt_wyatt_ui_components; | library wyatt_ui_components; | ||||||
| 
 | 
 | ||||||
| export 'src/src.dart'; | export 'src/src.dart'; | ||||||
|  | |||||||
| @ -1,6 +1,6 @@ | |||||||
| name: wyatt_wyatt_ui_components | name: wyatt_ui_components | ||||||
| description: Primary ui components | description: Primary ui components | ||||||
| repository: https://git.wyatt-studio.fr/Wyatt-FOSS/wyatt-packages/src/branch/master/packages/wyatt_wyatt_ui_components | repository: https://git.wyatt-studio.fr/Wyatt-FOSS/wyatt-packages/src/branch/master/packages/wyatt_ui_components | ||||||
| version: 0.0.1 | version: 0.0.1 | ||||||
| 
 | 
 | ||||||
| environment: | environment: | ||||||
| @ -11,8 +11,6 @@ dependencies: | |||||||
|   flutter: |   flutter: | ||||||
|     sdk: flutter |     sdk: flutter | ||||||
| 
 | 
 | ||||||
|   http: ^0.13.4 |  | ||||||
| 
 |  | ||||||
| dev_dependencies: | dev_dependencies: | ||||||
|    |    | ||||||
|   flutter_test: |   flutter_test: | ||||||
|  | |||||||
| @ -15,7 +15,7 @@ | |||||||
| // along with this program. If not, see <https://www.gnu.org/licenses/>. | // along with this program. If not, see <https://www.gnu.org/licenses/>. | ||||||
| 
 | 
 | ||||||
| import 'package:flutter/material.dart'; | import 'package:flutter/material.dart'; | ||||||
| import 'package:wyatt_wyatt_ui_layout/src/core/extensions/build_context_extensions.dart'; | import 'package:wyatt_ui_components/wyatt_wyatt_ui_components.dart'; | ||||||
| import 'package:wyatt_wyatt_ui_layout/src/presentation/layouts/layout.dart'; | import 'package:wyatt_wyatt_ui_layout/src/presentation/layouts/layout.dart'; | ||||||
| 
 | 
 | ||||||
| class AppBarLayout extends Layout { | class AppBarLayout extends Layout { | ||||||
|  | |||||||
| @ -1,5 +1,5 @@ | |||||||
| import 'package:flutter/material.dart'; | import 'package:flutter/material.dart'; | ||||||
| import 'package:wyatt_wyatt_ui_layout/src/core/core.dart'; | import 'package:wyatt_ui_components/wyatt_wyatt_ui_components.dart'; | ||||||
| import 'package:wyatt_wyatt_ui_layout/src/presentation/layouts/layout.dart'; | import 'package:wyatt_wyatt_ui_layout/src/presentation/layouts/layout.dart'; | ||||||
| 
 | 
 | ||||||
| class BottomNavigationBarLayout extends Layout { | class BottomNavigationBarLayout extends Layout { | ||||||
|  | |||||||
| @ -14,7 +14,4 @@ | |||||||
| // You should have received a copy of the GNU General Public License | // You should have received a copy of the GNU General Public License | ||||||
| // along with this program. If not, see <https://www.gnu.org/licenses/>. | // along with this program. If not, see <https://www.gnu.org/licenses/>. | ||||||
| 
 | 
 | ||||||
| export 'core/core.dart'; |  | ||||||
| export 'domain/domain.dart'; |  | ||||||
| export 'features/features.dart'; |  | ||||||
| export 'presentation/presentation.dart'; | export 'presentation/presentation.dart'; | ||||||
|  | |||||||
| @ -11,12 +11,19 @@ dependencies: | |||||||
|   flutter: |   flutter: | ||||||
|     sdk: flutter |     sdk: flutter | ||||||
|    |    | ||||||
|  |   wyatt_ui_components: | ||||||
|  |     git: | ||||||
|  |       url: https://git.wyatt-studio.fr/Wyatt-FOSS/wyatt-packages | ||||||
|  |       path: packages/wyatt_ui_components | ||||||
|  | 
 | ||||||
| dev_dependencies: | dev_dependencies: | ||||||
|    |    | ||||||
|   flutter_test: |   flutter_test: | ||||||
|     sdk: flutter |     sdk: flutter | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |    | ||||||
|  |    | ||||||
|   wyatt_analysis: |   wyatt_analysis: | ||||||
|     git: |     git: | ||||||
|       url: https://git.wyatt-studio.fr/Wyatt-FOSS/wyatt-packages |       url: https://git.wyatt-studio.fr/Wyatt-FOSS/wyatt-packages | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user