Giter VIP home page Giter VIP logo

clay_containers's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

clay_containers's Issues

No Issue - Awesome Performance, Thanks!

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!

FR: ClayTheme

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.

Embossed widgets' shadows are incorrect

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.

ClayAnimatedContainer onEnd implementation.

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.

design and building of Other NeuWidgets

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.

Useless complexity

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?

Lovely, simple package, but still needs documetation

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.