Giter Site home page Giter Site logo

mingsern / flutter_bounceable Goto Github PK

View Code? Open in Web Editor NEW
26.0 26.0 7.0 170.93 MB

A simple, interactive and customizable on-tap bounce animation that can be wrapped on any widgets that you like.

License: MIT License

Kotlin 0.91% Swift 2.97% Objective-C 0.28% Dart 67.49% HTML 28.34%
animation bounce-animations dart flutter flutter-package package pubdev tap widget wrapper

flutter_bounceable's Introduction

Hi there ๐Ÿ‘‹

Yeo Ming Sern's Dev Card

flutter_bounceable's People

Contributors

mingsern avatar mrn avatar

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

Watchers

 avatar  avatar

flutter_bounceable's Issues

Issue regarding simultaneous bounce effect

i am new to flutter so do not understand much of widget , tree stuff but will try best to explain the issue.

Issue

It is specifilcally regarding touchpad on laptops. Whenever in a widget tree if there two or more than two Bounceable widget with one being child and other being parent then taping on one of the child widget create bouncy effect for both child as well as for the parent Bounceable widgets.

Video

Avoid the black flickering (Screenrecorder issue).

Screencast.from.04-16-2022.01_55_53.AM_compressed.mp4

Code

  Bounceable(
              scaleFactor: 0.5,
              onTap: () {},
              child: Container(
                color: Colors.pink,
                height: 700,
                width: 200,
                child: Bounceable(
                  scaleFactor: 0.5,
                  onTap: () {},
                  child: Center(
                    child: Container(
                      width: 200,
                      color: Colors.green,
                      height: 200,
                      child: Bounceable(
                        scaleFactor: 0.2,
                        onTap: () {},
                        child: const Center(
                          child: Icon(
                            Icons.settings,
                            size: 50,
                          ),
                        ),
                      ),
                    ),
                  ),
                ),
              ),
            ),

Hot reload is not working

First of all thankyou for the simple widget. Only issue i am facing is that when i change the parameter and hotreload it doesn't apply the changes i need to hotrestart to see those changes.

Is this a issue or Am i missing something here?

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.