feat/split-components-and-layouts #65
| @ -14,12 +14,8 @@ | ||||
| // You should have received a copy of the GNU General Public License | ||||
| // along with this program. If not, see <https://www.gnu.org/licenses/>. | ||||
| 
 | ||||
| 
 | ||||
| import 'package:flutter/material.dart'; | ||||
| 
 | ||||
| import 'package:wyatt_wyatt_ui_components/wyatt_wyatt_ui_components.dart'; | ||||
| 
 | ||||
| 
 | ||||
| void main() { | ||||
|   runApp(const MyApp()); | ||||
| } | ||||
| @ -39,9 +35,8 @@ class MyApp extends StatelessWidget { | ||||
|         appBar: AppBar( | ||||
|           title: const Text('Wyatt Ui Components Example'), | ||||
|         ), | ||||
|         body: Center(child: Text(wyatt())), | ||||
|         body: const Center(child: Text('')), | ||||
|       ), | ||||
|     ); | ||||
|   } | ||||
| } | ||||
| 
 | ||||
|  | ||||
| @ -32,7 +32,7 @@ dependencies: | ||||
|     sdk: flutter | ||||
|    | ||||
|    | ||||
|   wyatt_wyatt_ui_components: | ||||
|   wyatt_ui_components: | ||||
|     path: "../" | ||||
| 
 | ||||
| dev_dependencies: | ||||
|  | ||||
| @ -15,8 +15,7 @@ | ||||
| // along with this program. If not, see <https://www.gnu.org/licenses/>. | ||||
| 
 | ||||
| import 'package:flutter/material.dart'; | ||||
| import 'package:wyatt_wyatt_ui_layout/src/features/component_theme.dart'; | ||||
| import 'package:wyatt_wyatt_ui_layout/src/features/component_theme_data.dart'; | ||||
| import 'package:wyatt_ui_components/src/features/features.dart'; | ||||
| 
 | ||||
| extension ThemeComponentBuildContext on BuildContext { | ||||
|   ComponentThemeData get components => ComponentTheme.of(this); | ||||
| @ -15,7 +15,7 @@ | ||||
| // along with this program. If not, see <https://www.gnu.org/licenses/>. | ||||
| 
 | ||||
| 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 { | ||||
|   final Widget child; | ||||
| @ -14,7 +14,7 @@ | ||||
| // You should have received a copy of the GNU General Public License | ||||
| // 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 { | ||||
|   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 | ||||
| // 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/>. | ||||
| 
 | ||||
| /// Wyatt Ui Components | ||||
| library wyatt_wyatt_ui_components; | ||||
| library wyatt_ui_components; | ||||
| 
 | ||||
| export 'src/src.dart'; | ||||
|  | ||||
| @ -1,6 +1,6 @@ | ||||
| name: wyatt_wyatt_ui_components | ||||
| name: wyatt_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 | ||||
| 
 | ||||
| environment: | ||||
| @ -10,8 +10,6 @@ dependencies: | ||||
|    | ||||
|   flutter: | ||||
|     sdk: flutter | ||||
|    | ||||
|   http: ^0.13.4 | ||||
| 
 | ||||
| dev_dependencies: | ||||
|    | ||||
|  | ||||
| @ -15,7 +15,7 @@ | ||||
| // along with this program. If not, see <https://www.gnu.org/licenses/>. | ||||
| 
 | ||||
| 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'; | ||||
| 
 | ||||
| class AppBarLayout extends Layout { | ||||
|  | ||||
| @ -1,5 +1,5 @@ | ||||
| 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'; | ||||
| 
 | ||||
| class BottomNavigationBarLayout extends Layout { | ||||
|  | ||||
| @ -14,7 +14,4 @@ | ||||
| // You should have received a copy of the GNU General Public License | ||||
| // 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'; | ||||
|  | ||||
| @ -10,11 +10,18 @@ dependencies: | ||||
|    | ||||
|   flutter: | ||||
|     sdk: flutter | ||||
|    | ||||
|   wyatt_ui_components: | ||||
|     git: | ||||
|       url: https://git.wyatt-studio.fr/Wyatt-FOSS/wyatt-packages | ||||
|       path: packages/wyatt_ui_components | ||||
| 
 | ||||
| dev_dependencies: | ||||
|    | ||||
|   flutter_test: | ||||
|     sdk: flutter | ||||
| 
 | ||||
| 
 | ||||
|    | ||||
|    | ||||
|   wyatt_analysis: | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user