definev / widget_canvas Goto Github PK
View Code? Open in Web Editor NEWAn infinity widget canvas built on top of 2D scrolling API
License: Other
An infinity widget canvas built on top of 2D scrolling API
License: Other
There is a problem that I encountered in the last update. When I want to move the widgets with the mouse, both the screen and the widget move, and at the same time, the widget moves much faster than the screen and goes out of the mouse's range. It may be useful to review and edit the constantly updated values โโof the widgets in the x and y plane.
Subclasses of RenderTwoDimensionalViewport will typically use firstChild to traverse children in a standard paint order that follows row or column major ordering. so we can customize the paint order. like this.
@override
void paint(PaintingContext context, Offset offset) {
// Paint as wish
var item = _visibleElements!.removeAt(0);
_visibleElements!.add(item);
for (final element in _visibleElements!) {
if (getChildFor(element.vicinity) case final child?) {
context.paintChild(child, parentDataOf(child).layoutOffset! + offset);
}
}
}
Hi there! super work. Thank you for keeping it as open-source. I saw your post on Twitter. it seems very performant and also better than InteractiveViewer. It would be great if it could support scaling too. then it would be a perfect replacement for the InteractiveViewer. been trying to do this on my own by using a fork but it is maybe a little complicated for me.
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.