Browse Source

version 0.0.7

tanghongliang 7 years ago
parent
commit
130b43dc49
4 changed files with 12 additions and 6 deletions
  1. 4 0
      CHANGELOG.md
  2. 3 3
      README.md
  3. 3 1
      lib/flustars.dart
  4. 2 2
      pubspec.yaml

+ 4 - 0
CHANGELOG.md

@@ -1,3 +1,7 @@
+## 0.0.7
+
+* TODO: Contains SpUtil,ScreenUtil,WidgetUtil.
+
 ## 0.0.1
 
 * TODO: Describe initial release.

+ 3 - 3
README.md

@@ -2,12 +2,12 @@
 [![Pub](https://img.shields.io/pub/v/flustars.svg?style=flat-square)](https://pub.dartlang.org/packages/flustars)
 
 ## [flustars] Flutter常用工具类库。主要对第三方库封装,以便于使用。依赖于[common_utils](https://github.com/Sky24n/common_utils)库。如果你有好的工具类欢迎PR.  
-### flustars  
+### [flustars](https://github.com/Sky24n/common_utils)  
  1、SpUtil       : SharedPreferences 工具类.  
  2、ScreenUtil   : 获取屏幕宽、高、密度,AppBar高,状态栏高度,屏幕方向.  
  3、WidgetUtil   : 获取Widget宽高,在屏幕上的坐标.  
 
-### common_utils
+### [common_utils](https://github.com/Sky24n/common_utils)  
  1、TimelineUtil : 时间轴.(新)  
  2、TimerUtil    : 倒计时,定时任务.(新)  
  3、MoneyUtil    : 分转元,支持格式输出.(新)  
@@ -33,7 +33,7 @@
 dependencies:
   flustars: x.x.x  #latest version
 ```
-* #### ScreenUtil
+* #### SpUtil
 ```
 getString
 putString

+ 3 - 1
lib/flustars.dart

@@ -1,3 +1,5 @@
+library flustars;
+
 export 'src/screen_util.dart';
 export 'src/widget_util.dart';
-export 'src/sp_util.dart';
+export 'src/sp_util.dart';

+ 2 - 2
pubspec.yaml

@@ -1,6 +1,6 @@
 name: flustars
 description: Flutter common utils library. SpUtil, ScreenUtil, WidgetUtil.
-version: 0.0.6
+version: 0.0.7
 author: thl <863764940@qq.com>
 homepage: https://github.com/Sky24n/flustars
 
@@ -11,7 +11,7 @@ dependencies:
   flutter:
     sdk: flutter
 
-  common_utils: ^1.0.4
+  common_utils: ^1.0.5
   synchronized: ^1.5.3
   shared_preferences: ^0.4.2