From bcb5e89abcf9328bb54275f86a41aefab03da08d Mon Sep 17 00:00:00 2001 From: guoqing <guoqingkuku@163.com> Date: Fri, 8 Dec 2023 17:51:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=87=E6=A1=A3=EF=BC=8C?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=BB=B4=E6=8A=A4=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 42 ++++++++++++++++++++++++++++++++++++++---- 1 file changed, 38 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a5dd2c8..39f088e 100644 --- a/README.md +++ b/README.md @@ -17,16 +17,50 @@ dependencies: import 'package:clx_flutter_util/clx_flutter_util.dart'; ``` -### 3. 璇存槑 +### 3. 缁存姢璇存槑 -#### 3.1 Toast +#### 3.1 鐗堟湰鍙疯鍒� + +- 涓荤増鏈彿锛氬綋浣犲仛浜嗕笉鍏煎鐨� API 淇敼 +- 娆$増鏈彿锛氬綋浣犲仛浜嗗悜涓嬪吋瀹圭殑鍔熻兘鎬ф柊澧� +- 淇鍙凤細褰撲綘鍋氫簡鍚戜笅鍏煎鐨勯棶棰樹慨姝� + + +```yaml +version: 1.0.0 +``` + +#### 3.2 浠g爜璇勫鍘熷垯 + +- 浠g爜瑙勮寖 +- 浠g爜鍙鎬� +- 浠g爜娉ㄩ噴 +- 浠g爜娴嬭瘯 + + + +#### 3.3 鐗堟湰鍙戝竷 + +```shell +# 1. 淇敼鐗堟湰鍙� +# 2. 缂栧啓example绀轰緥浠g爜鍜孯EADME.md +# 3. 淇敼CHANGELOG.md +# 4. 鎻愪氦浠g爜 +# 5. 鎵搕ag +# 6. 鍒涘缓鍒嗘敮 +# 7. 鎺ㄩ€佸垎鏀拰 tag +``` + +### 4. 浣跨敤璇存槑 + +#### 4.1 Toast ```dart // 鏄剧ず ToastUtil.showToast('toast'); ``` -#### 3.2 Log +#### 4.2 Log ```dart // 鎵撳嵃 @@ -34,7 +68,7 @@ logger.i('log'); ``` -#### 3.3 Sp +#### 4.3 Sp ```dart // 淇濆瓨 -- 2.17.1