From d946adbcdf1f549e3aadc5835b717a7430531a9d Mon Sep 17 00:00:00 2001 From: Chen Peng Date: Thu, 28 Mar 2024 19:35:20 +0800 Subject: [PATCH] bake --- bake | 9 ++------- spaces/flutter_note/lib/notes/1.welcome/note.dart | 4 ++++ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/bake b/bake index dec5140e..f4ebeeac 100755 --- a/bake +++ b/bake @@ -15,13 +15,8 @@ SCRIPT_PATH="$(_real_path "${BASH_SOURCE[0]}")" SCRIPT_DIR="$(dirname "$SCRIPT_PATH")" SCRIPT_FILE="$(basename "$SCRIPT_PATH")" -_install_bake(){ curl -L -O https://github.com/chen56/note/raw/main/bake.bash ; } -if ! [[ -f "$SCRIPT_DIR/bake.bash" ]]; then # 文件不存在就下载 - _install_bake -fi - # include common script -source "$SCRIPT_DIR/bake.bash" +source "$SCRIPT_DIR/vendor/bake.bash" ########################################## # app cmd script @@ -80,7 +75,7 @@ run() { # flutter_note flutter create --platforms=macos . -init() { +install() { run git lfs install } diff --git a/spaces/flutter_note/lib/notes/1.welcome/note.dart b/spaces/flutter_note/lib/notes/1.welcome/note.dart index 9926b540..247507d0 100644 --- a/spaces/flutter_note/lib/notes/1.welcome/note.dart +++ b/spaces/flutter_note/lib/notes/1.welcome/note.dart @@ -233,6 +233,10 @@ material.io对Compoent的定义如下: - [ ] OrientationBuilder 根据屏幕方向更新界面 +## state 相关 + +- ValueListenableBuilder + ### 主题Theme ### 国际化