Comments (12)
This pull request hide the leader
field in the LayerLink class. I am requesting them to revert this change.
from local_hero.
flutter sdk change this api controller.link.leader
to controller.link.debugLeader
, and does not work in other modes except debug.
layer.dart#L2130
from local_hero.
@kpk-i710 It's working in the master branch of flutter. You can switch to the master branch for now if that's possible.
from local_hero.
Any update on this?
from local_hero.
Error encounter if building with flutter 2.8
../flutter/.pub-cache/hosted/pub.dartlang.org/local_hero-0.2.0/lib/src/rendering/layer.dart:54:25: Error: The getter 'leader' isn't defined for the class 'LayerLink'. - 'LayerLink' is from 'package:flutter/src/rendering/layer.dart' ('../flutter/packages/flutter/lib/src/rendering/layer.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'leader'. if (controller.link.leader == null) { ^^^^^^ ../flutter/.pub-cache/hosted/pub.dartlang.org/local_hero-0.2.0/lib/src/rendering/layer.dart:102:25: Error: The getter 'leader' isn't defined for the class 'LayerLink'. - 'LayerLink' is from 'package:flutter/src/rendering/layer.dart' ('../flutter/packages/flutter/lib/src/rendering/layer.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'leader'. if (controller.link.leader == null) { ^^^^^^ ../flutter/.pub-cache/hosted/pub.dartlang.org/local_hero-0.2.0/lib/src/rendering/layer.dart:106:28: Error: The getter 'leader' isn't defined for the class 'LayerLink'. - 'LayerLink' is from 'package:flutter/src/rendering/layer.dart' ('../flutter/packages/flutter/lib/src/rendering/layer.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'leader'. assert(controller.link.leader!.owner == owner, ^^^^^^ ../flutter/.pub-cache/hosted/pub.dartlang.org/local_hero-0.2.0/lib/src/rendering/layer.dart:117:44: Error: The getter 'leader' isn't defined for the class 'LayerLink'. - 'LayerLink' is from 'package:flutter/src/rendering/layer.dart' ('../flutter/packages/flutter/lib/src/rendering/layer.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'leader'. ContainerLayer layer = controller.link.leader!; ^^^^^^ ../flutter/.pub-cache/hosted/pub.dartlang.org/local_hero-0.2.0/lib/src/rendering/layer.dart:165:25: Error: The getter 'leader' isn't defined for the class 'LayerLink'. - 'LayerLink' is from 'package:flutter/src/rendering/layer.dart' ('../flutter/packages/flutter/lib/src/rendering/layer.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'leader'. if (controller.link.leader == null) { ^^^^^^
from local_hero.
This pull request hide the
leader
field in the LayerLink class. I am requesting them to revert this change.
I really need this package, I donβt know how to fix it if I copy the package to my project for example from github. To work on the latest version of flutter?
from local_hero.
@kpk-i710 It's working in the master branch of flutter. You can switch to the master branch for now if that's possible.
thanks for the information, while I'm better at the 2.5 stable version, it also works.
from local_hero.
I could suggest this : https://stackoverflow.com/questions/71468925/how-to-transform-a-widget-by-switching-view
But It's not a perfect solution. If someone wants to enhance my code... My best version is not there.
from local_hero.
Do we have any update regarding this issue?
from local_hero.
Do we have any update regarding this issue?
flutter 3.0.x is working now π
from local_hero.
Do we have any update regarding this issue?
flutter 3.0.x is working now π
Seriously? Are there any warnings in the console?
from local_hero.
@kpk-i710 yes its working(more detail: flutter/flutter#92598) but have another warnings.
fix: https://github.com/flutter/website/blob/main/src/development/tools/sdk/release-notes/release-notes-3.0.0.md#if-you-see-warnings-about-bindings
from local_hero.
Related Issues (11)
- local_hero for GridView items HOT 12
- Null safety version HOT 2
- [Widgets are swapped] : Using this with different types of widgets produces weird result. HOT 1
- Assertion failed in inn Animation Controller HOT 9
- LocalHeroScope needed to use Local Hero
- Would be great to have a callback on animationEnded HOT 2
- I got a strange behavior on real devices Android versions 9, 10 with rendering Object with Animation
- How to sponsor? HOT 1
- Add new feature if possible
- LocalHero not reactive to flightShuttleBuilder changes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from local_hero.