diff --git a/assets/flutter.db b/assets/flutter.db index f8f96fa..c9131a2 100644 Binary files a/assets/flutter.db and b/assets/flutter.db differ diff --git a/lib/views/widgets/exp/sliver_unit.dart b/lib/views/widgets/exp/sliver_unit.dart index e04c9d3..fc7e958 100644 --- a/lib/views/widgets/exp/sliver_unit.dart +++ b/lib/views/widgets/exp/sliver_unit.dart @@ -15,3 +15,5 @@ export '../Sliver/SliverOpacity/node1_base.dart'; export '../Sliver/SliverPadding/node1_base.dart'; export '../Sliver/SliverPersistentHeader/node1_base.dart'; export '../Sliver/SliverToBoxAdapter/node1_base.dart'; +export '../Sliver/SliverOverlapAbsorber/node1_base.dart'; +export '../Sliver/SliverOverlapInjector/node1_base.dart'; diff --git a/lib/views/widgets/exp/stateful_unit.dart b/lib/views/widgets/exp/stateful_unit.dart index cf2ac3d..ab0ab01 100644 --- a/lib/views/widgets/exp/stateful_unit.dart +++ b/lib/views/widgets/exp/stateful_unit.dart @@ -11,7 +11,7 @@ export '../StatefulWidget/SlideTransition/node1_base.dart'; export '../StatefulWidget/MonthPicker/node1_base.dart'; export '../StatefulWidget/YearPicker/node1_base.dart'; export '../StatefulWidget/WillPopScope/node1_base.dart'; - +export '../StatefulWidget/NestedScrollView/node1_base.dart'; export '../StatefulWidget/AppBar/node1_base.dart'; export '../StatefulWidget/AppBar/node2_tab.dart'; export '../StatefulWidget/BottomAppBar/node1_base.dart'; diff --git a/lib/views/widgets/widgets_map.dart b/lib/views/widgets/widgets_map.dart index a10026a..1cc3df8 100644 --- a/lib/views/widgets/widgets_map.dart +++ b/lib/views/widgets/widgets_map.dart @@ -168,7 +168,18 @@ class WidgetsMap { ColorToggleButtons(), ProToggleButtons(), ]; - + case "NestedScrollView": + return [ + NestedScrollViewDemo(), + ]; + case "SliverOverlapAbsorber": + return [ + SliverOverlapAbsorberDemo(), + ]; + case "SliverOverlapInjector": + return [ + SliverOverlapInjectorDemo(), + ]; case "Divider": return [ CustomDivider(), diff --git a/linux/flutter/generated_plugin_registrant.cc b/linux/flutter/generated_plugin_registrant.cc new file mode 100644 index 0000000..4bfa0f3 --- /dev/null +++ b/linux/flutter/generated_plugin_registrant.cc @@ -0,0 +1,9 @@ +// +// Generated file. Do not edit. +// + +#include "generated_plugin_registrant.h" + + +void RegisterPlugins(flutter::PluginRegistry* registry) { +} diff --git a/linux/flutter/generated_plugin_registrant.h b/linux/flutter/generated_plugin_registrant.h new file mode 100644 index 0000000..9846246 --- /dev/null +++ b/linux/flutter/generated_plugin_registrant.h @@ -0,0 +1,13 @@ +// +// Generated file. Do not edit. +// + +#ifndef GENERATED_PLUGIN_REGISTRANT_ +#define GENERATED_PLUGIN_REGISTRANT_ + +#include + +// Registers Flutter plugins. +void RegisterPlugins(flutter::PluginRegistry* registry); + +#endif // GENERATED_PLUGIN_REGISTRANT_ diff --git a/linux/flutter/generated_plugins.mk b/linux/flutter/generated_plugins.mk new file mode 100644 index 0000000..63a60db --- /dev/null +++ b/linux/flutter/generated_plugins.mk @@ -0,0 +1,25 @@ +# Plugins to include in the build. +GENERATED_PLUGINS=\ + +GENERATED_PLUGINS_DIR=flutter/ephemeral/.plugin_symlinks +# A plugin library name plugin name with _plugin appended. +GENERATED_PLUGIN_LIB_NAMES=$(foreach plugin,$(GENERATED_PLUGINS),$(plugin)_plugin) + +# Variables for use in the enclosing Makefile. Changes to these names are +# breaking changes. +PLUGIN_TARGETS=$(GENERATED_PLUGINS) +PLUGIN_LIBRARIES=$(foreach plugin,$(GENERATED_PLUGIN_LIB_NAMES),\ + $(OUT_DIR)/lib$(plugin).so) +PLUGIN_LDFLAGS=$(patsubst %,-l%,$(GENERATED_PLUGIN_LIB_NAMES)) +PLUGIN_CPPFLAGS=$(foreach plugin,$(GENERATED_PLUGINS),\ + -I$(GENERATED_PLUGINS_DIR)/$(plugin)/linux) + +# Targets + +# Implicit rules don't match phony targets, so list plugin builds explicitly. + +.PHONY: $(GENERATED_PLUGINS) +$(GENERATED_PLUGINS): + make -C $(GENERATED_PLUGINS_DIR)/$@/linux \ + OUT_DIR=$(OUT_DIR) \ + FLUTTER_EPHEMERAL_DIR="$(abspath flutter/ephemeral)"