From 00fad6ffe3f74546c10fc937ab6d9de2639d08f8 Mon Sep 17 00:00:00 2001 From: Chen Peng Date: Tue, 30 Apr 2024 21:03:55 +0800 Subject: [PATCH] clean --- .../lib/routes/notes/pure_dart/async/page.dart | 1 - .../widgets/specific_widgets/button/overview/page.dart | 8 -------- .../note_api_thinking/format2_md_is_king.dart | 3 --- .../note_api_thinking/format_1.1_cell_block_is_king.dart | 1 - packages/you_cli/test/bin/pubspec_edit_test.dart | 1 - 5 files changed, 14 deletions(-) diff --git a/notes/flutter_web/lib/routes/notes/pure_dart/async/page.dart b/notes/flutter_web/lib/routes/notes/pure_dart/async/page.dart index 63d6a3e1..ca6d6ce6 100644 --- a/notes/flutter_web/lib/routes/notes/pure_dart/async/page.dart +++ b/notes/flutter_web/lib/routes/notes/pure_dart/async/page.dart @@ -36,7 +36,6 @@ void build(BuildContext context, Cell print) async { print.runInCurrentCell((print) { onPressed() async { var msg = await bomb(); - // todo 这个print在 async时,会打到最后一个cell print(msg); // debugPrint("ppp2 ${print.hashCode}"); // debugPrint("ppp2--- ${print.pen.cells}"); diff --git a/notes/flutter_web/lib/routes/notes/widgets/specific_widgets/button/overview/page.dart b/notes/flutter_web/lib/routes/notes/widgets/specific_widgets/button/overview/page.dart index 54ea3a6e..576c0e81 100644 --- a/notes/flutter_web/lib/routes/notes/widgets/specific_widgets/button/overview/page.dart +++ b/notes/flutter_web/lib/routes/notes/widgets/specific_widgets/button/overview/page.dart @@ -175,14 +175,6 @@ GestureDetector( ``` ''')); - // todo 增加GestureDetector范例 - // print.sampleMate(GestureDetector( - // // todo default value:这种变量型的是不是可以弄一下 kDefaultTrackpadScrollToScaleFactor - // trackpadScrollToScaleFactor: kDefaultTrackpadScrollToScaleFactor, - // child: const Text("文本变按钮"), - // onTap: () {/**todo UI log,显示到控制台便于一般性的事件展示**/}, - // )); - print.addCell(title:const Text("--------new cell------")); print(const MD(r''' ### Ink*组件 diff --git a/notes/flutter_web/lib/routes/notes/x.note_inside/note_api_thinking/format2_md_is_king.dart b/notes/flutter_web/lib/routes/notes/x.note_inside/note_api_thinking/format2_md_is_king.dart index 997f47a9..caf2f61c 100644 --- a/notes/flutter_web/lib/routes/notes/x.note_inside/note_api_thinking/format2_md_is_king.dart +++ b/notes/flutter_web/lib/routes/notes/x.note_inside/note_api_thinking/format2_md_is_king.dart @@ -53,7 +53,6 @@ class TestCell extends StatelessWidget { } @override Widget build(BuildContext context) { - // TODO: implement build throw UnimplementedError(); } } @@ -65,7 +64,6 @@ class CodeTemplate extends StatelessWidget { @override Widget build(BuildContext context) { - // TODO: implement build throw UnimplementedError(); } } @@ -77,7 +75,6 @@ class CodeTemplateNoReturn extends StatelessWidget { @override Widget build(BuildContext context) { - // TODO: implement build throw UnimplementedError(); } } diff --git a/notes/flutter_web/lib/routes/notes/x.note_inside/note_api_thinking/format_1.1_cell_block_is_king.dart b/notes/flutter_web/lib/routes/notes/x.note_inside/note_api_thinking/format_1.1_cell_block_is_king.dart index 8ca58654..a193b588 100644 --- a/notes/flutter_web/lib/routes/notes/x.note_inside/note_api_thinking/format_1.1_cell_block_is_king.dart +++ b/notes/flutter_web/lib/routes/notes/x.note_inside/note_api_thinking/format_1.1_cell_block_is_king.dart @@ -53,7 +53,6 @@ class CellBlock extends StatelessWidget { @override Widget build(BuildContext context) { - // TODO: implement build throw UnimplementedError(); } } diff --git a/packages/you_cli/test/bin/pubspec_edit_test.dart b/packages/you_cli/test/bin/pubspec_edit_test.dart index a6a41d2e..79a1fca0 100644 --- a/packages/you_cli/test/bin/pubspec_edit_test.dart +++ b/packages/you_cli/test/bin/pubspec_edit_test.dart @@ -16,7 +16,6 @@ void main() { group("Pubspec.putNoteAssets", () { setUp(() { fs = MemoryFileSystem(); - print("setup"); //TODO remove }); test('add', () async {