-
Notifications
You must be signed in to change notification settings - Fork 63
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
I cannot use the package many errors appear #194
Comments
Hi! Thanks for opening your first issue here! 😄 |
Hi, as mentioned in doc and other issues, you need the custom flutter engine build to play with it. |
@fzyzcjy Can u please elaborate more on that? how to make it? |
Just check previous issues in https://github.com/fzyzcjy/flutter_smooth/issues for more info. for example, #182 |
@fzyzcjy is there any easier way? |
There seems none... Because flutter_smooth needs to modify the flutter engine and framework. |
@fzyzcjy do I have to use the engine you added https://github.com/fzyzcjy/engine/tree/flutter-smooth |
Yes, just use the custom engine as well as custom framework. |
is there any new update on these many errors or we can't use this package anymore ?? |
Not yet... I am quite busy and maintaining packages like https://github.com/fzyzcjy/flutter_rust_bridge also need some energy... |
I wish you could update it, it is priceless package ♥ |
Thank you, and I also hope I can squeeze out some time for this! |
Describe the bug
When I run the app many errors appear and cannot fix them
To Reproduce
Steps to reproduce the behavior:
Expected behavior
App should run normmaly
Smartphone (please complete the following information):
Additional context
Performing hot restart...
Syncing files to device iPhone 15...
../../../.pub-cache/git/flutter_smooth-f6ffffe960468316a01191b4fd6b18c83a04e3cc/packages/smooth/lib/src/infra/binding.dart:130:17: Error: Type 'HitTestEntryFilter' not found.
{required HitTestEntryFilter? filter}) {
^^^^^^^^^^^^^^^^^^
../../../.pub-cache/git/flutter_smooth-f6ffffe960468316a01191b4fd6b18c83a04e3cc/packages/smooth/lib/src/infra/proxy.dart:113:3: Error: Type 'ui.ViewConfiguration' not found.
ui.ViewConfiguration get viewConfiguration => inner.viewConfiguration;
^^^^^^^^^^^^^^^^^^^^
../../../.pub-cache/git/flutter_smooth-f6ffffe960468316a01191b4fd6b18c83a04e3cc/packages/smooth/lib/src/infra/proxy.dart:104:7: Error: The non-abstract class 'ProxyFlutterView' is missing implementations for these members:
Try to either
class ProxyFlutterView implements ui.FlutterView {
^^^^^^^^^^^^^^^^
org-dartlang-sdk:///flutter/lib/ui/window.dart:234:23: Context: 'FlutterView.gestureSettings' is defined here.
GestureSettings get gestureSettings => _viewConfiguration.gestureSettings;
^^^^^^^^^^^^^^^
org-dartlang-sdk:///flutter/lib/ui/window.dart:58:16: Context: 'FlutterView.viewId' is defined here.
final Object viewId;
^^^^^^
../../../.pub-cache/git/flutter_smooth-f6ffffe960468316a01191b4fd6b18c83a04e3cc/packages/smooth/lib/src/infra/proxy.dart:148:7: Error: The non-abstract class 'ProxySingletonFlutterWindow' is missing implementations for these members:
Try to either
class ProxySingletonFlutterWindow extends ProxyFlutterView
^^^^^^^^^^^^^^^^^^^^^^^^^^^
org-dartlang-sdk:///flutter/lib/ui/window.dart:234:23: Context: 'FlutterView.gestureSettings' is defined here.
GestureSettings get gestureSettings => _viewConfiguration.gestureSettings;
^^^^^^^^^^^^^^^
org-dartlang-sdk:///flutter/lib/ui/window.dart:58:16: Context: 'FlutterView.viewId' is defined here.
final Object viewId;
^^^^^^
../../../.pub-cache/git/flutter_smooth-f6ffffe960468316a01191b4fd6b18c83a04e3cc/packages/smooth/lib/src/infra/binding.dart:175:7: Error: The non-abstract class 'SmoothSingletonFlutterWindow' is missing implementations for these members:
Try to either
class SmoothSingletonFlutterWindow extends ProxySingletonFlutterWindow
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
org-dartlang-sdk:///flutter/lib/ui/window.dart:234:23: Context: 'FlutterView.gestureSettings' is defined here.
GestureSettings get gestureSettings => _viewConfiguration.gestureSettings;
^^^^^^^^^^^^^^^
org-dartlang-sdk:///flutter/lib/ui/window.dart:58:16: Context: 'FlutterView.viewId' is defined here.
final Object viewId;
^^^^^^
../../../.pub-cache/git/flutter_smooth-f6ffffe960468316a01191b4fd6b18c83a04e3cc/packages/smooth/lib/src/infra/proxy.dart:7:7: Error: The non-abstract class 'ProxyPipelineOwner' is missing implementations for these members:
Try to either
class ProxyPipelineOwner implements PipelineOwner {
^^^^^^^^^^^^^^^^^^
../../../Desktop/flutter1sdk/flutter/packages/flutter/lib/src/rendering/object.dart:1354:8: Context: 'PipelineOwner.adoptChild' is defined here.
void adoptChild(PipelineOwner child) {
^^^^^^^^^^
../../../Desktop/flutter1sdk/flutter/packages/flutter/lib/src/rendering/object.dart:1303:8: Context: 'PipelineOwner.attach' is defined here.
void attach(PipelineManifold manifold) {
^^^^^^
../../../Desktop/flutter1sdk/flutter/packages/flutter/lib/src/rendering/object.dart:1319:8: Context: 'PipelineOwner.detach' is defined here.
void detach() {
^^^^^^
../../../Desktop/flutter1sdk/flutter/packages/flutter/lib/src/rendering/object.dart:1372:8: Context: 'PipelineOwner.dropChild' is defined here.
void dropChild(PipelineOwner child) {
^^^^^^^^^
../../../Desktop/flutter1sdk/flutter/packages/flutter/lib/src/rendering/object.dart:1389:8: Context: 'PipelineOwner.visitChildren' is defined here.
void visitChildren(PipelineOwnerVisitor visitor) {
^^^^^^^^^^^^^
../../../.pub-cache/git/flutter_smooth-f6ffffe960468316a01191b4fd6b18c83a04e3cc/packages/smooth/lib/src/infra/binding.dart:246:7: Error: The non-abstract class '_SmoothPipelineOwner' is missing implementations for these members:
Try to either
class _SmoothPipelineOwner extends ProxyPipelineOwner {
^^^^^^^^^^^^^^^^^^^^
../../../Desktop/flutter1sdk/flutter/packages/flutter/lib/src/rendering/object.dart:1354:8: Context: 'PipelineOwner.adoptChild' is defined here.
void adoptChild(PipelineOwner child) {
^^^^^^^^^^
../../../Desktop/flutter1sdk/flutter/packages/flutter/lib/src/rendering/object.dart:1303:8: Context: 'PipelineOwner.attach' is defined here.
void attach(PipelineManifold manifold) {
^^^^^^
../../../Desktop/flutter1sdk/flutter/packages/flutter/lib/src/rendering/object.dart:1319:8: Context: 'PipelineOwner.detach' is defined here.
void detach() {
^^^^^^
../../../Desktop/flutter1sdk/flutter/packages/flutter/lib/src/rendering/object.dart:1372:8: Context: 'PipelineOwner.dropChild' is defined here.
void dropChild(PipelineOwner child) {
^^^^^^^^^
../../../Desktop/flutter1sdk/flutter/packages/flutter/lib/src/rendering/object.dart:1389:8: Context: 'PipelineOwner.visitChildren' is defined here.
void visitChildren(PipelineOwnerVisitor visitor) {
^^^^^^^^^^^^^
../../../.pub-cache/git/flutter_smooth-f6ffffe960468316a01191b4fd6b18c83a04e3cc/packages/smooth/lib/src/infra/auxiliary_tree_pack.dart:36:27: Error: Method not found: 'TickerRegistry'.
final _tickerRegistry = TickerRegistry();
^^^^^^^^^^^^^^
../../../.pub-cache/git/flutter_smooth-f6ffffe960468316a01191b4fd6b18c83a04e3cc/packages/smooth/lib/src/infra/binding.dart:301:7: Error: Class 'WidgetsFlutterBinding with SmoothSchedulerBindingMixin, SmoothGestureBindingMixin with SmoothRendererBindingMixin' inherits multiple members named 'BindingBase with GestureBinding, SchedulerBinding, ServicesBinding, PaintingBinding, SemanticsBinding, RendererBinding.dispatchEvent%GestureBinding.dispatchEvent%RendererBinding.dispatchEvent%SmoothGestureBindingMixin.dispatchEvent' with incompatible signatures.
Try adding a declaration of 'BindingBase with GestureBinding, SchedulerBinding, ServicesBinding, PaintingBinding, SemanticsBinding, RendererBinding.dispatchEvent%GestureBinding.dispatchEvent%RendererBinding.dispatchEvent%SmoothGestureBindingMixin.dispatchEvent' to 'WidgetsFlutterBinding with SmoothSchedulerBindingMixin, SmoothGestureBindingMixin with SmoothRendererBindingMixin'.
class SmoothWidgetsFlutterBinding extends WidgetsFlutterBinding
^
../../../Desktop/flutter1sdk/flutter/packages/flutter/lib/src/rendering/binding.dart:322:8: Context: This is one of the overridden members.
void dispatchEvent(PointerEvent event, HitTestResult? hitTestResult) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
../../../Desktop/flutter1sdk/flutter/packages/flutter/lib/src/rendering/binding.dart:322:8: Context: This is one of the overridden members.
void dispatchEvent(PointerEvent event, HitTestResult? hitTestResult) {
^^^^^^^^^^^^^
../../../.pub-cache/git/flutter_smooth-f6ffffe960468316a01191b4fd6b18c83a04e3cc/packages/smooth/lib/src/infra/binding.dart:301:7: Error: Class 'WidgetsFlutterBinding with SmoothSchedulerBindingMixin, SmoothGestureBindingMixin, SmoothRendererBindingMixin with SmoothWidgetsBindingMixin' inherits multiple members named 'BindingBase with GestureBinding, SchedulerBinding, ServicesBinding, PaintingBinding, SemanticsBinding, RendererBinding.dispatchEvent%GestureBinding.dispatchEvent%RendererBinding.dispatchEvent%SmoothGestureBindingMixin.dispatchEvent%RendererBinding.dispatchEvent' with incompatible signatures.
Try adding a declaration of 'BindingBase with GestureBinding, SchedulerBinding, ServicesBinding, PaintingBinding, SemanticsBinding, RendererBinding.dispatchEvent%GestureBinding.dispatchEvent%RendererBinding.dispatchEvent%SmoothGestureBindingMixin.dispatchEvent%RendererBinding.dispatchEvent' to 'WidgetsFlutterBinding with SmoothSchedulerBindingMixin, SmoothGestureBindingMixin, SmoothRendererBindingMixin with SmoothWidgetsBindingMixin'.
class SmoothWidgetsFlutterBinding extends WidgetsFlutterBinding
^
../../../Desktop/flutter1sdk/flutter/packages/flutter/lib/src/rendering/binding.dart:322:8: Context: This is one of the overridden members.
void dispatchEvent(PointerEvent event, HitTestResult? hitTestResult) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
../../../Desktop/flutter1sdk/flutter/packages/flutter/lib/src/gestures/binding.dart:420:8: Context: This is one of the overridden members.
void dispatchEvent(PointerEvent event, HitTestResult? hitTestResult) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../.pub-cache/git/flutter_smooth-f6ffffe960468316a01191b4fd6b18c83a04e3cc/packages/smooth/lib/src/drop_in/list_view/shift.dart:352:36: Error: The getter 'startTime' isn't defined for the class 'Ticker'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'startTime'.
final tickTimeStamp = _ticker!.startTime! + selfTickerElapsed;
^^^^^^^^^
../../../.pub-cache/git/flutter_smooth-f6ffffe960468316a01191b4fd6b18c83a04e3cc/packages/smooth/lib/src/drop_in/list_view/shift.dart:356:59: Error: The getter 'startTime' isn't defined for the class 'Ticker'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'startTime'.
final ballisticTickerStartTime = info.ballisticTicker.startTime;
^^^^^^^^^
../../../.pub-cache/git/flutter_smooth-f6ffffe960468316a01191b4fd6b18c83a04e3cc/packages/smooth/lib/src/infra/binding.dart:60:9: Error: The method 'adjustForEpoch' isn't defined for the class 'SmoothSchedulerBindingMixin'.
Try correcting the name to the name of an existing method, or defining a method named 'adjustForEpoch'.
adjustForEpoch(rawTimeStamp ?? currentSystemFrameTimeStamp));
^^^^^^^^^^^^^^
../../../.pub-cache/git/flutter_smooth-f6ffffe960468316a01191b4fd6b18c83a04e3cc/packages/smooth/lib/src/infra/binding.dart:130:17: Error: 'HitTestEntryFilter' isn't a type.
{required HitTestEntryFilter? filter}) {
^^^^^^^^^^^^^^^^^^
../../../.pub-cache/git/flutter_smooth-f6ffffe960468316a01191b4fd6b18c83a04e3cc/packages/smooth/lib/src/infra/binding.dart:140:49: Error: No named parameter with the name 'filter'.
super.dispatchEvent(event, hitTestResult, filter: filter);
^^^^^^
../../../.pub-cache/git/flutter_smooth-f6ffffe960468316a01191b4fd6b18c83a04e3cc/packages/smooth/lib/src/infra/binding.dart:169:9: Error: No named parameter with the name 'fallbackVsyncTargetTime'.
fallbackVsyncTargetTime: effectiveFallbackVsyncTargetTime,
^^^^^^^^^^^^^^^^^^^^^^^
../../../.pub-cache/git/flutter_smooth-f6ffffe960468316a01191b4fd6b18c83a04e3cc/packages/smooth/lib/src/infra/binding.dart:217:11: Error: No named parameter with the name 'forceDirectlyCallNextVsyncTargetTime'.
forceDirectlyCallNextVsyncTargetTime:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../.pub-cache/git/flutter_smooth-f6ffffe960468316a01191b4fd6b18c83a04e3cc/packages/smooth/lib/src/drop_in/list_view/controller.dart:71:25: Error: The getter 'controller' isn't defined for the class '_SmoothBallisticScrollActivity'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'controller'.
?.controller.lastElapsedDuration?.inMicroseconds ??
^^^^^^^^^^
../../../.pub-cache/git/flutter_smooth-f6ffffe960468316a01191b4fd6b18c83a04e3cc/packages/smooth/lib/src/infra/auxiliary_tree_pack.dart:58:14: Error: The method 'TickerRegistryInheritedWidget' isn't defined for the class 'AuxiliaryTreePack'.
Try correcting the name to the name of an existing method, or defining a method named 'TickerRegistryInheritedWidget'.
child: TickerRegistryInheritedWidget(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../.pub-cache/git/flutter_smooth-f6ffffe960468316a01191b4fd6b18c83a04e3cc/packages/smooth/lib/src/infra/auxiliary_tree_pack.dart:181:26: Error: Unexpected type 'invalid-type' of a spread. Expected 'dynamic' or an Iterable.
..._tickerRegistry.tickers,
^
../../../.pub-cache/git/flutter_smooth-f6ffffe960468316a01191b4fd6b18c83a04e3cc/packages/smooth/lib/src/infra/auxiliary_tree_pack.dart:225:16: Error: Setter not found: 'debugActiveLayout'.
RenderObject.debugActiveLayout = null;
^^^^^^^^^^^^^^^^^
../../../.pub-cache/git/flutter_smooth-f6ffffe960468316a01191b4fd6b18c83a04e3cc/packages/smooth/lib/src/infra/auxiliary_tree_pack.dart:229:18: Error: Setter not found: 'debugActiveLayout'.
RenderObject.debugActiveLayout = oldDebugActiveLayout;
^^^^^^^^^^^^^^^^^
../../../.pub-cache/git/flutter_smooth-f6ffffe960468316a01191b4fd6b18c83a04e3cc/packages/smooth/lib/src/infra/proxy.dart:113:55: Error: The getter 'viewConfiguration' isn't defined for the class 'FlutterView'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'viewConfiguration'.
ui.ViewConfiguration get viewConfiguration => inner.viewConfiguration;
^^^^^^^^^^^^^^^^^
../../../.pub-cache/git/flutter_smooth-f6ffffe960468316a01191b4fd6b18c83a04e3cc/packages/smooth/lib/src/infra/proxy.dart:145:27: Error: No named parameter with the name 'fallbackVsyncTargetTime'.
inner.render(scene, fallbackVsyncTargetTime: fallbackVsyncTargetTime);
^^^^^^^^^^^^^^^^^^^^^^^
../../../.pub-cache/git/flutter_smooth-f6ffffe960468316a01191b4fd6b18c83a04e3cc/packages/smooth/lib/src/infra/proxy.dart:263:11: Error: No named parameter with the name 'forceDirectlyCallNextVsyncTargetTime'.
forceDirectlyCallNextVsyncTargetTime:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../.pub-cache/git/flutter_smooth-f6ffffe960468316a01191b4fd6b18c83a04e3cc/packages/smooth/lib/src/infra/actor.dart:135:9: Error: No named parameter with the name 'fallbackVsyncTargetTime'.
fallbackVsyncTargetTime:
^^^^^^^^^^^^^^^^^^^^^^^
../../../.pub-cache/git/flutter_smooth-f6ffffe960468316a01191b4fd6b18c83a04e3cc/packages/smooth/lib/src/infra/actor.dart:143:34: Error: The method 'notifyIdle' isn't defined for the class 'PlatformDispatcher'.
Try correcting the name to the name of an existing method, or defining a method named 'notifyIdle'.
binding.platformDispatcher.notifyIdle(
^^^^^^^^^^
../../../.pub-cache/git/flutter_smooth-f6ffffe960468316a01191b4fd6b18c83a04e3cc/packages/smooth/lib/src/infra/extra_event_dispatcher.dart:48:9: Error: No named parameter with the name 'filter'.
filter: (entry) {
^^^^^^
../../../.pub-cache/git/flutter_smooth-f6ffffe960468316a01191b4fd6b18c83a04e3cc/packages/smooth/lib/src/infra/extra_event_dispatcher.dart:114:24: Error: The method 'readEnginePendingEventsAndClear' isn't defined for the class 'GestureBinding'.
Try correcting the name to the name of an existing method, or defining a method named 'readEnginePendingEventsAndClear'.
gestureBinding.readEnginePendingEventsAndClear();
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Restarted application in 6,574ms.
The text was updated successfully, but these errors were encountered: