mcaubrey / clay_containers Goto Github PK
View Code? Open in Web Editor NEWNeumorphic containers and text widget primitives to serve as the foundation of your own unique neumorphic designs.
License: MIT License
Neumorphic containers and text widget primitives to serve as the foundation of your own unique neumorphic designs.
License: MIT License
Just wanted to tell ya, that I had implemented neumorphic elements in my app using https://pub.dev/packages/flutter_neumorphic.
I have a decent number of elements, and was experiencing some mild jank when scrolling. After months of dealing with it, scaling back, etc. I just replaced a page's elements with your clay_containers and it became smooth as can be.
So, Thank you for making yours with low overhead, efficient, and performant!
Looking for a ClayTheme class that we can apply pretty much any of the decorations to and have all descendent ClayContainers inherit from this via InheritedWidget.
Hey, this package is actually amazing, I really like how easy it is to implement neomorphic containers with it. I only think there is a problem with the emboss parameter in the container.
The shadow of an embossed widget actually should blur on the inside of the Container and not on the outside I guess.
I also know this is not implemented natively in flutter, but there could be a workaround for that.
You can use a ClayAnimatedContainer to create animations in the same way as you would an AnimatedContainer. An explanation of AnimatedContainers can be found on the [Google Developers channel]) on YouTube.
Hello. There is no implementation of onEnd callback in ClayAnimatedContainer but this is important part on AnimatedContainer.
Could you add VoidCallback? onEnd to the widget, please, or merge with my PullRequest.
I like this package. :)
Best flutter neumorphic package so far ๐
Do you have plans for buttons, or any other widgets?
if so, do you have plans for how they will be implemented?
I would be happy to help if I am able.
Also, it would be really cool if we could somehow tie into Flutter ThemeData, or create a NeuThemeData or something.
I am a fan.
Hi, please support the null-safety version.
Hi, shouldn't this method be replaceable by the following simpler and more efficient code?
extension on Color {
Color withIncrement(int amount) =>
Color.fromRGBO(
(this.red + amount).clamp(0, 255), (this.green + amount).clamp(0, 255), (this.blue + amount).clamp(0, 255), 1
);
}
Or am I missing something?
I'm curious if this package could be distilled into a BoxDecoration class. If so, we may be able to use AnimatedContainer with it and get implicit animations for free.
Please PR your excellent work here !!
https://github.com/solido/awesome-flutter
Thx
Let me know the exact solution
Here my code
https://github.com/rashmisridar/neuromorphic_design
Provide documentation 10 / 20
10/10 points: Package has an example
- Found example at: example/main.dart
0/10 points: 20% or more of the public API has dartdoc comments
- 3 out of 58 API elements (5.2 %) have documentation comments.
- Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
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.