-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
onPressed does not run for buttons #38
Labels
bug
Something isn't working
Comments
Same here. |
Same here. |
Same here. |
|
Hello, I have the same issue: but I customed the lib with OverlayEntry follow a post and unicorn dial worked. https://medium.com/coding-with-flutter/flutter-adding-animated-overlays-to-your-app-e0bb049eff39 |
Check my fix here: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I have a problem with the on pressed. It doesn't run and I don't know why. Here is my code. I put it inside a container to solve another common issue with this package. Someone had the same problem? Thank you in advance.
Do you think it depends on where and how I put the widget insider my UI?
return new Scaffold( backgroundColor: getColorBackground(), body: new Builder( builder: (context) => new SliverContainer( floatingActionButton: Container( // bottom: 20, height: 60, // width: MediaQuery.of(context).size.width, child: new UnicornDialer( parentHeroTag: "duhcugedf", animationDuration: 250, backgroundColor: Colors.transparent, parentButtonBackground: Colors.teal, orientation: UnicornOrientation.HORIZONTAL, parentButton: Icon( Icons.settings, size: 30, color: getColorBackground(), ), childButtons: _getProfileMenu(context), ), ), expandedHeight: 200.0, slivers: <Widget>[ new SliverAppBar( backgroundColor: Colors.orangeAccent, iconTheme: IconThemeData(color: Colors.white), expandedHeight: 200.0, pinned: true, flexibleSpace: new FlexibleSpaceBar( title: Container( padding: EdgeInsets.only(bottom: 10), child: Text( "Lista della spesa", textAlign: TextAlign.left, overflow: TextOverflow.ellipsis, style: TextStyle( fontWeight: FontWeight.w500, fontFamily: "Helvetica", fontSize: 22, color: Colors.white), ), ), background: new Image.asset( "images/grocery.png", ), ), ), new SliverPadding( padding: EdgeInsets.only(bottom: 40), ), new SliverList( delegate: new SliverChildListDelegate(lista), ), new SliverPadding( padding: EdgeInsets.only(bottom: 40), ), ], ), ), );
The text was updated successfully, but these errors were encountered: