Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

163 note page code view #164

Merged
merged 53 commits into from
Jun 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
8306767
[flutter_web] colors buffer width
chen56 May 20, 2024
d7445cb
[flutter_web] clean
chen56 May 20, 2024
610dbf3
[flutter_web] clean
chen56 May 20, 2024
0562fca
[flutter_web] kIsWeb && !kDebugMode: get caller line ok
chen56 May 20, 2024
e03f06e
[you_cli] yaml.dart rename to pubspec.dart
chen56 May 21, 2024
b414e49
[you_cli] pubspec.dart 合并为一个实现,不再区分read和write
chen56 May 21, 2024
4759471
[you_cli] clean
chen56 May 21, 2024
82287d2
[you_cli] clean
chen56 May 21, 2024
9c1b564
[you_cli] gen assets ,update pubspec.yaml
chen56 May 22, 2024
f975cda
[you_cli] gen assets ,update pubspec.yaml
chen56 May 22, 2024
3808bcd
[you_cli] clean
chen56 May 23, 2024
0c542a3
[you_cli] clean
chen56 May 23, 2024
9185038
[you_cli] clean
chen56 May 24, 2024
143dad4
[you_cli] clean
chen56 May 24, 2024
aac0a5a
pin version:
chen56 May 24, 2024
ac03a6c
[_you_dart_internal] clean
chen56 May 24, 2024
7e2a4b3
[_you_dart_internal] clean
chen56 May 29, 2024
321e183
[_you_dart_internal] clean
chen56 May 31, 2024
ee062a1
[_you_dart_internal] clean
chen56 May 31, 2024
3e0d19b
[_you_dart_internal] clean
chen56 Jun 2, 2024
87cb86e
[_you_dart_internal] clean
chen56 Jun 2, 2024
3d1f5a2
[_you_cli] fixed assets.g.dart
chen56 Jun 7, 2024
a79b997
[_you_cli] extract FlutterExample
chen56 Jun 7, 2024
86aa129
[flutter_web] cheatsheet widgets: Input_FloatingActionButtonCell
chen56 Jun 12, 2024
e94c097
[flutter_web] example code view
chen56 Jun 12, 2024
5311d48
[flutter_web] lib_routes_notes_cheatsheets_widgets__examples_Input_Bo…
chen56 Jun 12, 2024
915ef75
[flutter_web] lib_routes_notes_cheatsheets_widgets__examples_Input_Bo…
chen56 Jun 12, 2024
1c18ea0
[flutter_web] Navigation_NavigationBar
chen56 Jun 12, 2024
67e80ab
[flutter_web] Navigation_NavigationDrawer
chen56 Jun 12, 2024
1a3782e
[flutter_web] Navigation_NavigationRail
chen56 Jun 12, 2024
c800f86
[you_bake] FIXME 重复列出children,bake flutter_web :列出多个gens
chen56 Jun 13, 2024
007a32c
[flutter_web] notes: 导航与页面
chen56 Jun 13, 2024
9c4bbac
[flutter_web] notes: 分割、填充、留白
chen56 Jun 13, 2024
af783e5
[flutter_web] notes widgets: LayoutCore_ContainerCell
chen56 Jun 13, 2024
6a4f5d2
[flutter_web] notes widgets: Input_SearchAnchor
chen56 Jun 13, 2024
f7450b5
[flutter_web] reset to HighlightView
chen56 Jun 13, 2024
7bc2f8b
[flutter_web] reset to HighlightView, remove flutter_syntax_view
chen56 Jun 13, 2024
0a63565
[flutter_web] upgrade --major-versions
chen56 Jun 13, 2024
5bc6a60
[flutter_web] clean
chen56 Jun 13, 2024
ab99429
[flutter_web] Form_Checkbox
chen56 Jun 13, 2024
8356b2e
[flutter_web] Chip
chen56 Jun 13, 2024
29aabab
[flutter_web] ChoiceChip
chen56 Jun 13, 2024
973e315
[flutter_web] InputChip
chen56 Jun 13, 2024
39e9231
[flutter_web] Form_showDateRangePicker
chen56 Jun 14, 2024
439ae5b
[flutter_web] Form_showDatePicker
chen56 Jun 14, 2024
0f13e03
[flutter_web] Form_radio
chen56 Jun 14, 2024
8350788
[flutter_web] Slider
chen56 Jun 14, 2024
91c2b17
[flutter_web] TextField
chen56 Jun 14, 2024
2e0bfd4
[flutter_web] Feedback
chen56 Jun 14, 2024
a66d460
[flutter_web] BottomSheet
chen56 Jun 15, 2024
11e1d3e
[flutter_web] 装饰器,Decorator
chen56 Jun 18, 2024
48abfce
[flutter_web] 装饰器,Decorator
chen56 Jun 18, 2024
c64699d
[flutter_web] 装饰器,Decorator
chen56 Jun 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 24 additions & 24 deletions bake
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ build() { __run_all build; }
upgrade() { __run_all upgrade; }
clean() { __run_all clean; }
test() { __run_all test; }
gen() { __run_all gen; }
gen() { __run_all gen.all; }
publish() { __run_all publish; }
dart_fix() { run dart fix $@; }

Expand All @@ -140,27 +140,27 @@ root.run() { __run root "$@";
bake.run() { __run bake "$@"; }
bake.test() { __run bake ./test.bash test; }

_you_dart_internal.run() { __run _you_dart_internal "$@"; }
_you_dart_internal.install() { __run _you_dart_internal flutter pub get; }
_you_dart_internal.clean() { __run _you_dart_internal flutter clean; rm -rf build; }
_you_dart_internal.run() { __run _you_dart_internal "$@"; }
_you_dart_internal.install() { __run _you_dart_internal flutter pub get; }
_you_dart_internal.clean() { __run _you_dart_internal flutter clean; rm -rf build; }
_you_dart_internal.upgrade() { __run _you_dart_internal flutter pub outdated ;
__run _you_dart_internal flutter pub upgrade ; }
_you_dart_internal.test() { __run _you_dart_internal flutter test; }
_you_dart_internal.publish() { __run _you_dart_internal flutter pub publish; }
__run _you_dart_internal flutter pub upgrade --major-versions ; }
_you_dart_internal.test() { __run _you_dart_internal flutter test; }
_you_dart_internal.publish() { __run _you_dart_internal flutter pub publish; }

you_dart.run() { __run you_dart "$@"; }
you_dart.install() { __run you_dart flutter pub get; }
you_dart.clean() { __run you_dart flutter clean; rm -rf build; }
you_dart.upgrade() { __run you_dart flutter pub outdated ;
__run you_dart flutter pub upgrade ; }
__run you_dart flutter pub upgrade --major-versions; }
you_dart.test() { __run you_dart flutter test; }
you_dart.publish() { __run you_dart flutter pub publish; }

you_flutter.run() { __run you_flutter "$@"; }
you_flutter.install() { __run you_flutter flutter pub get; }
you_flutter.clean() { __run you_flutter flutter clean; rm -rf build; }
you_flutter.upgrade() { __run you_flutter flutter pub outdated ;
__run you_flutter flutter pub upgrade ; }
__run you_flutter flutter pub upgrade --major-versions; }
you_flutter.test() { __run you_flutter flutter test; }
you_flutter.publish() { __run you_flutter flutter pub publish; }

Expand All @@ -169,7 +169,7 @@ you_cli.test() { __run you_cli dart test;
you_cli.install() { __run you_cli flutter pub get; }
you_cli.clean() { __run you_cli flutter clean; rm -rf build; }
you_cli.upgrade() { __run you_cli flutter pub outdated ;
__run you_cli flutter pub upgrade ; }
__run you_cli flutter pub upgrade --major-versions; }
you_cli.publish() { __run you_cli flutter pub publish; }


Expand All @@ -178,7 +178,7 @@ learn_dart.install() { __run learn_dart dart pub get ;
learn_dart.clean() { __run learn_dart rm -rf
__run learn_dart rm -rf .dart_tool; }
learn_dart.upgrade() { __run learn_dart flutter pub outdated ;
__run learn_dart dart pub upgrade ; }
__run learn_dart dart pub upgrade --major-versions; }
learn_dart.study() { __run learn_dart dart test; }
# skwasm无法运行
# http-server 不支持base href设置,所以单独build,并设置base-href为"/",而github-pages的base-href必须是repository名
Expand All @@ -188,19 +188,19 @@ learn_dart.study() { __run learn_dart dart test;
# install:
# - flutter pub global activate dhttpd
# - deno
flutter_web.run() { __run flutter_web "$@" ; }
flutter_web.install() { __run flutter_web flutter pub get ; }
flutter_web.clean() { __run flutter_web flutter clean;
rm -rf build; }
flutter_web.upgrade() { __run flutter_web flutter pub outdated ;
__run flutter_web flutter pub upgrade ; }
flutter_web.gen() { #__run root dart run packages/you_cli/bin/cli.dart gen all --dir notes/flutter_web/;
__run root dart run packages/you_cli/bin/cli.dart gen routes --dir notes/flutter_web/ # --async
}
flutter_web.dev() { flutter_web.dev_html ; }
flutter_web.build() { flutter_web.build_html ; }
flutter_web.preview() { flutter_web.build_html;
flutter_web.server_deno; }
flutter_web.run() { __run flutter_web "$@" ; }
flutter_web.install() { __run flutter_web flutter pub get ; }
flutter_web.clean() { __run flutter_web flutter clean;
rm -rf build; }
flutter_web.upgrade() { __run flutter_web flutter pub outdated ;
__run flutter_web flutter pub upgrade --major-versions; }
flutter_web.gen.all() { __run root dart run packages/you_cli/bin/cli.dart gen all --dir notes/flutter_web/ ; }
flutter_web.gen.assets() { __run root dart run packages/you_cli/bin/cli.dart gen assets --dir notes/flutter_web/ ; }
flutter_web.gen.routes() { __run root dart run packages/you_cli/bin/cli.dart gen routes --dir notes/flutter_web/ ; }
flutter_web.dev() { flutter_web.dev_html ; }
flutter_web.build() { flutter_web.build_html ; }
flutter_web.preview() { flutter_web.build_html;
flutter_web.server_deno; }

flutter_web.dev_html() { __run flutter_web flutter run --web-port 8888 --web-renderer html --device-id chrome "$@"; }
flutter_web.dev_macos() { __run flutter_web flutter run --device-id macos "$@"; }
Expand Down
3 changes: 2 additions & 1 deletion notes/flutter_web/lib/app.dart
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
import 'package:flutter/material.dart';
import 'package:flutter_web/assets.g.dart';
import 'package:flutter_web/routes.g.dart';
import 'package:you_flutter/better_ui.dart';
import 'package:you_flutter/router.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'package:you_flutter/state.dart';

final routes = Routes();

final assets = Assets();
class App extends StatefulWidget {
final YouRouter router;
final SharedPreferences sharedPreferences;
Expand Down
Loading
Loading