flutterkit / zerker Goto Github PK
View Code? Open in Web Editor NEWZerker is a lightweight and powerful flutter graphic animation library
Home Page: https://flutterkit.github.io/zerkerdocs/
License: MIT License
Zerker is a lightweight and powerful flutter graphic animation library
Home Page: https://flutterkit.github.io/zerkerdocs/
License: MIT License
Is there any method to export scene to PNG (transparent) or JPG image?
Hi, Can not seem to get the onTouchMove callback working. Awesome library, Keep up the good work!
In the description of this great package, it states we can make custom scene transitions. I would love to see an example or a code snippet to make a custom scene transition from one page to another. Something like Instagram/Snapchat story dismissing by swiping down and page being clipped down to a circle avatar in the first page.
class _MyHomePageState extends State<MyHomePage> {
Zerker a;
MyZKApp app = MyZKApp();
@override
void initState() {
super.initState();
a = Zerker(
app: app, clip: true, interactive: true, width: 350, height: 350);
}
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(widget.title),
actions: [
InkWell(
child: Text('dispose'),
onTap: () {
a = null;
app.dispose();
setState(() {});
},
)
],
),
body: Center(
child: a,
));
}
}
I used the example with some modifications.
My computer is a poorly performing device, but my cell phone is worse. If the zerker is not dispose, the performance of the cell phone is very poor.
This cannot be solved with super.dispose.
Please provide me a solution.
miss ImageStreamListener、TextWidthBasis and so on
The following code
@override
void panStart(ZKEvent event) {}
@override
void panEnd(ZKEvent event) {}
@override
void panUpdate(ZKEvent event) {
_handler(event.dx, event.dy);
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.