Browse Source

update readme

ditclear 7 years ago
parent
commit
f4e8f2394c
5 changed files with 42 additions and 14 deletions
  1. 11 0
      LICENSE
  2. 31 10
      README.md
  3. BIN
      device-2019-03-08-164030.png
  4. 0 4
      pubspec.yaml
  5. BIN
      screenshot.png

+ 11 - 0
LICENSE

@@ -0,0 +1,11 @@
+Licensed under the Apache License, Version 2.0 (the "License"); you
+may not use this file except in compliance with the License. You may
+obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+implied. See the License for the specific language governing permissions
+and limitations under the License.

+ 31 - 10
README.md

@@ -1,16 +1,37 @@
-# mvvm_flutter
+# MVVM-Flutter
 
-A new Flutter application.
+Build MVVM App for Android and IOS with Flutter。
 
-## Getting Started
+项目结构类似于[MVVM-Android](https://github.com/ditclear/MVVM-Android)。
 
-This project is a starting point for a Flutter application.
+```bash
+.
+├── di
+│   └── modules.dart
+├── helper
+│   ├── netutils.dart
+│   ├── toast.dart
+│   └── widgetutils.dart
+├── main.dart
+├── model
+│   ├── remote.dart
+│   └── repository.dart
+└── view
+    └── home.dart
 
-A few resources to get you started if this is your first Flutter project:
+```
 
-- [Lab: Write your first Flutter app](https://flutter.io/docs/get-started/codelab)
-- [Cookbook: Useful Flutter samples](https://flutter.io/docs/cookbook)
+#### dependencies
+
+- [dio](https://github.com/flutterchina/dio) : 网络请求
+- [rxdart](https://github.com/ReactiveX/rxdart):响应式编程
+- [flutter-provide](https://github.com/google/flutter-provide):通知ui更新数据
+
+### 截图
+
+![](screenshot.png)
+
+#### LICENSE
+
+the Apache License
 
-For help getting started with Flutter, view our 
-[online documentation](https://flutter.io/docs), which offers tutorials, 
-samples, guidance on mobile development, and a full API reference.

BIN
device-2019-03-08-164030.png


+ 0 - 4
pubspec.yaml

@@ -21,16 +21,12 @@ dependencies:
   cupertino_icons: ^0.1.2
   provide: ^1.0.2
   dio: 2.0.7
-  json_annotation: ^2.0.0
   rxdart: ^0.21.0
 
 dev_dependencies:
   flutter_test:
     sdk: flutter
 
-  build_runner: ^1.0.0
-  json_serializable: ^2.0.0
-
 # For information on the generic Dart part of this file, see the
 # following page: https://www.dartlang.org/tools/pub/pubspec
 

BIN
screenshot.png