Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
config navigation list
appflowy248ce74832c8
diff --git a/app_flowy/lib/workspace/domain/page_stack/page_stack.dart b/app_flowy/lib/workspace/domain/page_stack/page_stack.dartindex bd18b92632..a760117ea1 100644--- a/app_flowy/lib/workspace/domain/page_stack/page_stack.dart+++ b/app_flowy/lib/workspace/domain/page_stack/page_stack.dart@@ -23,7 +23,8 @@ class HomePageStack {}void setStackView(HomeStackView? stackView) {- _bloc.add(PageStackEvent.setStackView(stackView ?? const BlankStackView()));+ _bloc.add(PageStackEvent.setStackView(+ stackView ?? const AnnouncementStackView()));}Widget stackTopBar() {@@ -61,15 +62,17 @@ List<Widget> _buildStackWidget(HomeStackView stackView) {if (viewType == stackView.type) {switch (stackView.type) {case ViewType.Blank:- return BlankPage(stackView: stackView as BlankStackView);+ return AnnouncementPage(+ stackView: stackView as AnnouncementStackView);case ViewType.Doc:final docView = stackView as DocPageStackView;return DocPage(key: ValueKey(docView.view.id), stackView: docView);default:- return BlankPage(stackView: stackView as BlankStackView);+ return AnnouncementPage(+ stackView: stackView as AnnouncementStackView);}} else {- return const BlankPage(stackView: BlankStackView());+ return const AnnouncementPage(stackView: AnnouncementStackView());}}).toList();}@@ -77,11 +80,11 @@ List<Widget> _buildStackWidget(HomeStackView stackView) {HomeStackView stackViewFromView(View view) {switch (view.viewType) {case ViewType.Blank:- return const BlankStackView();+ return const AnnouncementStackView();case ViewType.Doc:return DocPageStackView(view);default:- return const BlankStackView();+ return const AnnouncementStackView();}}diff --git a/app_flowy/lib/workspace/domain/page_stack/page_stack_bloc.dart b/app_flowy/lib/workspace/domain/page_stack/page_stack_bloc.dartindex 9d43af2d05..c20dced4ca 100644--- a/app_flowy/lib/workspace/domain/page_stack/page_stack_bloc.dart+++ b/app_flowy/lib/workspace/domain/page_stack/page_stack_bloc.dart@@ -30,6 +30,6 @@ abstract class PageStackState implements _$PageStackState {}) = _PageStackState;factory PageStackState.initial() => const PageStackState(- stackView: BlankStackView(),+ stackView: AnnouncementStackView(),);}diff --git a/app_flowy/lib/workspace/presentation/app/app_widget.dart b/app_flowy/lib/workspace/presentation/app/app_widget.dartindex 57b0c18e2d..e67cffb546 100644--- a/app_flowy/lib/workspace/presentation/app/app_widget.dart+++ b/app_flowy/lib/workspace/presentation/app/app_widget.dart@@ -60,16 +60,13 @@ class AppWidget extends MenuItem {}ExpandableNotifier expandableWrapper(BuildContext context, Widget child) {- final controller = ExpandableController(initialExpanded: false);return ExpandableNotifier(- controller: controller,child: ScrollOnExpand(scrollOnExpand: true,scrollOnCollapse: false,child: Column(children: <Widget>[ExpandablePanel(- // controller: controller,theme: const ExpandableThemeData(headerAlignment: ExpandablePanelHeaderAlignment.center,tapBodyToExpand: false,@@ -78,7 +75,7 @@ class AppWidget extends MenuItem {iconPadding: EdgeInsets.zero,hasIcon: false,),- header: AppHeader(app, controller: controller),+ header: AppHeader(app),expanded: child,collapsed: const SizedBox(),),@@ -100,12 +97,10 @@ class AppWidget extends MenuItem {}class AppHeader extends StatelessWidget {- final ExpandableController controller;final App app;const AppHeader(this.app, {Key? key,- required this.controller,}) : super(key: key);@override@@ -115,7 +110,11 @@ class AppHeader extends StatelessWidget {crossAxisAlignment: CrossAxisAlignment.center,children: [InkWell(- onTap: () => controller.toggle(),+ onTap: () {+ ExpandableController.of(context,+ rebuildOnChange: false, required: true)+ ?.toggle();+ },child: ExpandableIcon(theme: ExpandableThemeData(expandIcon: Icons.arrow_drop_up,diff --git a/app_flowy/lib/workspace/presentation/doc/doc_page.dart b/app_flowy/lib/workspace/presentation/doc/doc_page.dartindex b05c973549..d2b00ef05b 100644--- a/app_flowy/lib/workspace/presentation/doc/doc_page.dart+++ b/app_flowy/lib/workspace/presentation/doc/doc_page.dart@@ -6,6 +6,7 @@ import 'package:flowy_infra_ui/widget/error_page.dart';import 'package:flowy_sdk/protobuf/flowy-workspace/view_create.pb.dart';import 'package:flutter/material.dart';import 'package:flutter_bloc/flutter_bloc.dart';+import 'package:flowy_infra_ui/style_widget/styled_progress_indicator.dart';class DocPage extends HomeStackWidget {const DocPage({Key? key, required DocPageStackView stackView})@@ -29,7 +30,7 @@ class _DocPageState extends State<DocPage> {BlocBuilder<DocWatchBloc, DocWatchState>(builder: (context, state) {assert(widget.stackView is DocPageStackView);return state.map(- loading: (_) => const CircularProgressIndicator.adaptive(),+ loading: (_) => const StyledProgressIndicator(),loadDoc: (s) => EditorWdiget(doc: s.doc),loadFail: (s) => FlowyErrorPage(s.error.toString()),);diff --git a/app_flowy/lib/workspace/presentation/widgets/blank_page.dart b/app_flowy/lib/workspace/presentation/widgets/blank_page.dartindex e59df39502..159fa8d2ce 100644--- a/app_flowy/lib/workspace/presentation/widgets/blank_page.dart+++ b/app_flowy/lib/workspace/presentation/widgets/blank_page.dart@@ -2,30 +2,30 @@ import 'package:app_flowy/workspace/domain/page_stack/page_stack.dart';import 'package:flowy_sdk/protobuf/flowy-workspace/view_create.pb.dart';import 'package:flutter/material.dart';-class BlankStackView extends HomeStackView {- const BlankStackView() : super(type: ViewType.Blank, title: 'Blank');+class AnnouncementStackView extends HomeStackView {+ const AnnouncementStackView() : super(type: ViewType.Blank, title: 'Blank');@overrideList<Object> get props => [];}-class BlankPage extends HomeStackWidget {- const BlankPage({Key? key, required BlankStackView stackView})+class AnnouncementPage extends HomeStackWidget {+ const AnnouncementPage({Key? key, required AnnouncementStackView stackView}): super(key: key, stackView: stackView);@override- State<StatefulWidget> createState() => _BlankPageState();+ State<StatefulWidget> createState() => _AnnouncementPage();}-class _BlankPageState extends State<BlankPage> {+class _AnnouncementPage extends State<AnnouncementPage> {@overrideWidget build(BuildContext context) {- return Container(- color: Theme.of(context).colorScheme.primary,- child: const Center(- child: Text(- 'Hello AppFlowy',- style: TextStyle(fontSize: 60),+ return SizedBox.expand(+ child: Container(+ color: Theme.of(context).colorScheme.surface,+ child: Padding(+ padding: const EdgeInsets.all(10),+ child: Container(),),),);diff --git a/app_flowy/packages/flowy_infra_ui/example/pubspec.lock b/app_flowy/packages/flowy_infra_ui/example/pubspec.lockindex 76f4d31c6c..eb9c1f5d57 100644--- a/app_flowy/packages/flowy_infra_ui/example/pubspec.lock+++ b/app_flowy/packages/flowy_infra_ui/example/pubspec.lock@@ -156,6 +156,13 @@ packages:url: "https://pub.dartlang.org"source: hostedversion: "1.0.1"+ loading_indicator:+ dependency: transitive+ description:+ name: loading_indicator+ url: "https://pub.dartlang.org"+ source: hosted+ version: "3.0.1"logger:dependency: transitivedescription:@@ -296,4 +303,4 @@ packages:version: "2.1.0"sdks:dart: ">=2.12.0 <3.0.0"- flutter: ">=1.20.0"+ flutter: ">=2.0.0"diff --git a/app_flowy/packages/flowy_infra_ui/lib/style_widget/styled_hover.dart b/app_flowy/packages/flowy_infra_ui/lib/style_widget/styled_hover.dartindex ff33ac7cae..d28279026c 100644--- a/app_flowy/packages/flowy_infra_ui/lib/style_widget/styled_hover.dart+++ b/app_flowy/packages/flowy_infra_ui/lib/style_widget/styled_hover.dart@@ -1,4 +1,5 @@import 'package:flutter/material.dart';+// ignore: unused_importimport 'package:flowy_infra/time/duration.dart';typedef HoverBuilder = Widget Function(BuildContext context, bool onHover);@@ -36,19 +37,17 @@ class _StyledHoverState extends State<StyledHover> {width: widget.borderWidth,);- final animatedDuration = .1.seconds;-return MouseRegion(cursor: SystemMouseCursors.click,onEnter: (p) => setOnHover(true),onExit: (p) => setOnHover(false),- child: AnimatedContainer(+ child: Container(decoration: BoxDecoration(border: hoverBorder,color: hoverColor,borderRadius: widget.borderRadius,),- duration: animatedDuration,+ // duration: .1.seconds,child: widget.builder(context, _onHover),),);diff --git a/app_flowy/packages/flowy_infra_ui/lib/style_widget/styled_navigation_list.dart b/app_flowy/packages/flowy_infra_ui/lib/style_widget/styled_navigation_list.dartnew file mode 100644index 0000000000..46e3d1f4bc--- /dev/null+++ b/app_flowy/packages/flowy_infra_ui/lib/style_widget/styled_navigation_list.dart@@ -0,0 +1,107 @@+import 'package:flutter/material.dart';+import 'package:provider/provider.dart';++typedef NaviAction = void Function(String);++abstract class NaviItem {+ String get identifier;+ NaviAction get action;+}++class StyledNavigationController extends ChangeNotifier {+ List<NaviItem> naviItems;+ StyledNavigationController({this.naviItems = const []});+}++class StyledNavigationList extends StatelessWidget {+ const StyledNavigationList({Key? key}) : super(key: key);++ @override+ Widget build(BuildContext context) {+ return MultiProvider(+ providers: [+ ChangeNotifierProvider(create: (_) => StyledNavigationController()),+ ],+ child: Consumer(builder: (ctx, StyledNavigationController ctrl, child) {+ return Row(+ children: _buildNaviItemWidget(ctrl.naviItems),+ );+ }),+ );+ }++ List<Widget> _buildNaviItemWidget(List<NaviItem> items) {+ if (items.isEmpty) {+ return [];+ }++ List<NaviItem> newItems = _selectNaviItem(items);+ Widget last = NaviItemWidget(newItems.removeLast());++ List<Widget> widgets = newItems+ .map(+ (item) => NaviItemDivider(+ child: NaviItemWidget(item),+ ),+ )+ .toList();++ widgets.add(last);++ return widgets;+ }++ List<NaviItem> _selectNaviItem(List<NaviItem> items) {+ final length = items.length;+ if (length > 4) {+ final ellipsisItems = items.getRange(1, length - 2).toList();+ return [+ items[0],+ EllipsisNaviItem(items: ellipsisItems),+ items[length - 2],+ items[length - 1]+ ];+ } else {+ return items;+ }+ }+}++class NaviItemWidget extends StatelessWidget {+ final NaviItem item;+ const NaviItemWidget(this.item, {Key? key}) : super(key: key);++ @override+ Widget build(BuildContext context) {+ return Container(+ child: null,+ );+ }+}++class NaviItemDivider extends StatelessWidget {+ final Widget child;+ const NaviItemDivider({Key? key, required this.child}) : super(key: key);++ @override+ Widget build(BuildContext context) {+ return Row(+ children: [child, const Text('/')],+ );+ }+}++class EllipsisNaviItem extends NaviItem {+ final List<NaviItem> items;+ EllipsisNaviItem({+ required this.items,+ });++ @override+ // TODO: implement action+ NaviAction get action => throw UnimplementedError();++ @override+ // TODO: implement identifier+ String get identifier => throw UnimplementedError();+}diff --git a/app_flowy/packages/flowy_infra_ui/lib/style_widget/styled_progress_indicator.dart b/app_flowy/packages/flowy_infra_ui/lib/style_widget/styled_progress_indicator.dartnew file mode 100644index 0000000000..7b1eeed5f5--- /dev/null+++ b/app_flowy/packages/flowy_infra_ui/lib/style_widget/styled_progress_indicator.dart@@ -0,0 +1,34 @@+import 'package:flutter/material.dart';+import 'package:flutter/widgets.dart';+import 'package:loading_indicator/loading_indicator.dart';++List<Color> _kDefaultRainbowColors = const [+ Colors.red,+ Colors.orange,+ Colors.yellow,+ Colors.green,+ Colors.blue,+ Colors.indigo,+ Colors.purple,+];++// CircularProgressIndicator()+class StyledProgressIndicator extends StatelessWidget {+ const StyledProgressIndicator({Key? key}) : super(key: key);++ @override+ Widget build(BuildContext context) {+ return SizedBox.expand(+ child: Center(+ child: SizedBox(+ width: 60,+ child: LoadingIndicator(+ indicatorType: Indicator.pacman,+ colors: _kDefaultRainbowColors,+ strokeWidth: 4.0,+ ),+ ),+ ),+ );+ }+}diff --git a/app_flowy/packages/flowy_infra_ui/pubspec.lock b/app_flowy/packages/flowy_infra_ui/pubspec.lockindex e05bfcbe05..7c78eced5a 100644--- a/app_flowy/packages/flowy_infra_ui/pubspec.lock+++ b/app_flowy/packages/flowy_infra_ui/pubspec.lock@@ -142,6 +142,13 @@ packages:url: "https://pub.dartlang.org"source: hostedversion: "1.0.1"+ loading_indicator:+ dependency: "direct main"+ description:+ name: loading_indicator+ url: "https://pub.dartlang.org"+ source: hosted+ version: "3.0.1"logger:dependency: transitivedescription:@@ -282,4 +289,4 @@ packages:version: "2.1.0"sdks:dart: ">=2.12.0 <3.0.0"- flutter: ">=1.20.0"+ flutter: ">=2.0.0"diff --git a/app_flowy/packages/flowy_infra_ui/pubspec.yaml b/app_flowy/packages/flowy_infra_ui/pubspec.yamlindex fec0ebe4a1..bc3293a8d3 100644--- a/app_flowy/packages/flowy_infra_ui/pubspec.yaml+++ b/app_flowy/packages/flowy_infra_ui/pubspec.yaml@@ -19,6 +19,7 @@ dependencies:styled_widget: '>=0.3.1'equatable: '>=2.0.2'animations: ^2.0.0+ loading_indicator: ^3.0.1# Federated Platform Interfaceflowy_infra_ui_platform_interface:diff --git a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/view_create.pbenum.dart b/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/view_create.pbenum.dartindex 790a0bd3d1..36086c2b66 100644--- a/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/view_create.pbenum.dart+++ b/app_flowy/packages/flowy_sdk/lib/protobuf/flowy-workspace/view_create.pbenum.dart@@ -10,17 +10,25 @@ import 'dart:core' as $core;import 'package:protobuf/protobuf.dart' as $pb;class ViewType extends $pb.ProtobufEnum {- static const ViewType Blank = ViewType._(0, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'Blank');- static const ViewType Doc = ViewType._(1, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'Doc');+ static const ViewType Blank = ViewType._(+ 0,+ const $core.bool.fromEnvironment('protobuf.omit_enum_names')+ ? ''+ : 'Blank');+ static const ViewType Doc = ViewType._(+ 1,+ const $core.bool.fromEnvironment('protobuf.omit_enum_names')+ ? ''+ : 'Doc');- static const $core.List<ViewType> values = <ViewType> [+ static const $core.List<ViewType> values = <ViewType>[Blank,Doc,];- static final $core.Map<$core.int, ViewType> _byValue = $pb.ProtobufEnum.initByValue(values);+ static final $core.Map<$core.int, ViewType> _byValue =+ $pb.ProtobufEnum.initByValue(values);static ViewType? valueOf($core.int value) => _byValue[value];const ViewType._($core.int v, $core.String n) : super(v, n);}-diff --git a/app_flowy/pubspec.lock b/app_flowy/pubspec.lockindex 42a36033ed..49ab9be09a 100644--- a/app_flowy/pubspec.lock+++ b/app_flowy/pubspec.lock@@ -5,231 +5,231 @@ packages:dependency: transitivedescription:name: _fe_analyzer_shared- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hosted- version: "22.0.0"+ version: "23.0.0"analyzer:dependency: transitivedescription:name: analyzer- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hosted- version: "1.7.2"+ version: "2.0.0"animations:dependency: transitivedescription:name: animations- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "2.0.1"args:dependency: transitivedescription:name: args- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hosted- version: "2.1.1"+ version: "2.2.0"async:dependency: transitivedescription:name: async- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "2.7.0"bloc:dependency: transitivedescription:name: bloc- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "7.0.0"boolean_selector:dependency: transitivedescription:name: boolean_selector- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "2.1.0"build:dependency: transitivedescription:name: build- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "2.0.3"build_config:dependency: transitivedescription:name: build_config- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "1.0.0"build_daemon:dependency: transitivedescription:name: build_daemon- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "3.0.0"build_resolvers:dependency: transitivedescription:name: build_resolvers- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "2.0.4"build_runner:dependency: "direct dev"description:name: build_runner- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "2.0.6"build_runner_core:dependency: transitivedescription:name: build_runner_core- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "7.0.1"built_collection:dependency: transitivedescription:name: built_collection- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "5.1.0"built_value:dependency: transitivedescription:name: built_value- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "8.1.1"characters:dependency: transitivedescription:name: characters- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "1.1.0"charcode:dependency: transitivedescription:name: charcode- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "1.3.1"checked_yaml:dependency: transitivedescription:name: checked_yaml- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "2.0.1"cli_util:dependency: transitivedescription:name: cli_util- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "0.3.3"clock:dependency: transitivedescription:name: clock- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "1.1.0"code_builder:dependency: transitivedescription:name: code_builder- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hosted- version: "4.0.0"+ version: "4.1.0"collection:dependency: transitivedescription:name: collection- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "1.15.0"convert:dependency: transitivedescription:name: convert- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "3.0.1"crypto:dependency: transitivedescription:name: crypto- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "3.0.1"cupertino_icons:dependency: "direct main"description:name: cupertino_icons- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "1.0.3"dart_style:dependency: transitivedescription:name: dart_style- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hosted- version: "2.0.2"+ version: "2.0.3"dartz:dependency: transitivedescription:name: dartz- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "0.10.0-nullsafety.2"equatable:dependency: "direct main"description:name: equatable- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "2.0.3"expandable:dependency: "direct main"description:name: expandable- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "5.0.1"fake_async:dependency: transitivedescription:name: fake_async- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "1.2.0"ffi:dependency: transitivedescription:name: ffi- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "1.1.2"file:dependency: transitivedescription:name: file- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "6.1.2"fixnum:dependency: transitivedescription:name: fixnum- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "1.0.0"flowy_editor:@@ -283,42 +283,42 @@ packages:dependency: "direct main"description:name: flutter_bloc- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "7.0.1"flutter_colorpicker:dependency: transitivedescription:name: flutter_colorpicker- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "0.5.0"flutter_keyboard_visibility:dependency: transitivedescription:name: flutter_keyboard_visibility- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hosted- version: "5.0.2"+ version: "5.0.3"flutter_keyboard_visibility_platform_interface:dependency: transitivedescription:name: flutter_keyboard_visibility_platform_interface- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "2.0.0"flutter_keyboard_visibility_web:dependency: transitivedescription:name: flutter_keyboard_visibility_web- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "2.0.0"flutter_lints:dependency: "direct dev"description:name: flutter_lints- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "1.0.4"flutter_test:@@ -335,196 +335,203 @@ packages:dependency: "direct dev"description:name: freezed- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hosted- version: "0.14.2"+ version: "0.14.3"freezed_annotation:dependency: "direct main"description:name: freezed_annotation- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hosted- version: "0.14.2"+ version: "0.14.3"frontend_server_client:dependency: transitivedescription:name: frontend_server_client- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "2.1.0"get_it:dependency: "direct main"description:name: get_it- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "7.2.0"glob:dependency: transitivedescription:name: glob- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "2.0.1"graphs:dependency: transitivedescription:name: graphs- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "2.0.0"http_multi_server:dependency: transitivedescription:name: http_multi_server- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "3.0.1"http_parser:dependency: transitivedescription:name: http_parser- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "4.0.0"io:dependency: transitivedescription:name: io- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "1.0.3"isolates:dependency: transitivedescription:name: isolates- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "3.0.3+8"js:dependency: transitivedescription:name: js- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "0.6.3"json_annotation:dependency: transitivedescription:name: json_annotation- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hosted- version: "4.0.1"+ version: "4.1.0"lint:dependency: transitivedescription:name: lint- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "1.5.3"lints:dependency: transitivedescription:name: lints- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "1.0.1"+ loading_indicator:+ dependency: transitive+ description:+ name: loading_indicator+ url: "https://pub.flutter-io.cn"+ source: hosted+ version: "3.0.1"logger:dependency: transitivedescription:name: logger- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "1.0.0"logging:dependency: transitivedescription:name: logging- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "1.0.1"matcher:dependency: transitivedescription:name: matcher- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "0.12.10"meta:dependency: transitivedescription:name: meta- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "1.7.0"mime:dependency: transitivedescription:name: mime- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "1.0.0"nested:dependency: transitivedescription:name: nested- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "1.0.0"package_config:dependency: transitivedescription:name: package_config- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "2.0.0"path:dependency: transitivedescription:name: path- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "1.8.0"path_provider:dependency: "direct main"description:name: path_provider- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "2.0.2"path_provider_linux:dependency: transitivedescription:name: path_provider_linux- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "2.0.0"path_provider_macos:dependency: transitivedescription:name: path_provider_macos- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "2.0.0"path_provider_platform_interface:dependency: transitivedescription:name: path_provider_platform_interface- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "2.0.1"path_provider_windows:dependency: transitivedescription:name: path_provider_windows- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "2.0.1"pedantic:dependency: transitivedescription:name: pedantic- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "1.11.1"photo_view:@@ -540,91 +547,91 @@ packages:dependency: transitivedescription:name: platform- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "3.0.0"plugin_platform_interface:dependency: transitivedescription:name: plugin_platform_interface- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "2.0.1"pool:dependency: transitivedescription:name: pool- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "1.5.0"process:dependency: transitivedescription:name: process- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hosted- version: "4.2.1"+ version: "4.2.3"protobuf:dependency: transitivedescription:name: protobuf- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "2.0.0"provider:dependency: transitivedescription:name: provider- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "5.0.0"pub_semver:dependency: transitivedescription:name: pub_semver- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "2.0.0"pubspec_parse:dependency: transitivedescription:name: pubspec_parse- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "1.0.0"quiver:dependency: transitivedescription:name: quiver- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "3.0.1"quiver_hashcode:dependency: transitivedescription:name: quiver_hashcode- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "2.0.0"shelf:dependency: transitivedescription:name: shelf- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "1.2.0"shelf_web_socket:dependency: transitivedescription:name: shelf_web_socket- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "1.0.1"sized_context:dependency: "direct main"description:name: sized_context- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "1.0.0+1"sky_engine:@@ -636,189 +643,189 @@ packages:dependency: transitivedescription:name: source_gen- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hosted- version: "1.0.3"+ version: "1.0.5"source_span:dependency: transitivedescription:name: source_span- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "1.8.1"stack_trace:dependency: transitivedescription:name: stack_trace- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "1.10.0"stream_channel:dependency: transitivedescription:name: stream_channel- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "2.1.0"stream_transform:dependency: transitivedescription:name: stream_transform- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "2.0.0"string_scanner:dependency: transitivedescription:name: string_scanner- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "1.1.0"string_validator:dependency: transitivedescription:name: string_validator- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "0.3.0"styled_widget:dependency: "direct main"description:name: styled_widget- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "0.3.1+2"term_glyph:dependency: transitivedescription:name: term_glyph- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "1.2.0"test_api:dependency: transitivedescription:name: test_api- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "0.4.1"textstyle_extensions:dependency: transitivedescription:name: textstyle_extensions- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "2.0.0-nullsafety"time:dependency: "direct main"description:name: time- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "2.0.0"timing:dependency: transitivedescription:name: timing- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "1.0.0"tuple:dependency: transitivedescription:name: tuple- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "2.0.0"typed_data:dependency: transitivedescription:name: typed_data- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "1.3.0"universal_platform:dependency: transitivedescription:name: universal_platform- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "1.0.0+1"url_launcher:dependency: transitivedescription:name: url_launcher- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "6.0.9"url_launcher_linux:dependency: transitivedescription:name: url_launcher_linux- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "2.0.0"url_launcher_macos:dependency: transitivedescription:name: url_launcher_macos- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "2.0.0"url_launcher_platform_interface:dependency: transitivedescription:name: url_launcher_platform_interface- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "2.0.4"url_launcher_web:dependency: transitivedescription:name: url_launcher_web- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "2.0.1"url_launcher_windows:dependency: transitivedescription:name: url_launcher_windows- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "2.0.0"uuid:dependency: transitivedescription:name: uuid- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "3.0.4"vector_math:dependency: transitivedescription:name: vector_math- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "2.1.0"watcher:dependency: transitivedescription:name: watcher- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "1.0.0"web_socket_channel:dependency: transitivedescription:name: web_socket_channel- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "2.1.0"win32:dependency: transitivedescription:name: win32- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "2.2.5"window_size:@@ -834,14 +841,14 @@ packages:dependency: transitivedescription:name: xdg_directories- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "0.2.0"yaml:dependency: transitivedescription:name: yaml- url: "https://pub.dartlang.org"+ url: "https://pub.flutter-io.cn"source: hostedversion: "3.1.0"sdks: