Category "flutter-animation"

Flutter Animated Positioned with Text Child Sliding onto the Screen

I'm new to animations in flutter and I am running into this weird error on my text/button animation. So I'm trying to build an app page where on click of a but

How to position widget inside Stack relative to center?

Stack( children: [ Positioned( left: ??? + 20, child: Text('This text is 20 pixel left to the center of the stack'), ), ], ),

Flutter : How to Automaticallly scroll to end of SingleChildScrollView

I have a SingleChildScrollView, its scrollDirection is set to Horizontal with 5 child widgets placed inside a Row Widget. I want to programmatically scroll to t

How to animate images on mouse hover using Flutter for Web?

I am a JavaScript developer and I am new to Flutter. I just want to animate a set of images on mouse hover like this using Flutter for Web. It includes Scaling,

Error when hitting the back button in camera

getting this issue when we click on back camera while using the app .. any one could you please find and send the solution to this issue in flutter Exception ha

Flutter - How to Make floating action button animation like gmail?

I am able to make quite a similar floating action button animation like Gmail app, but I am getting a little bit of margin when I isExpanded is false. Any solut

How to remove default navigation route animation

I am below code which given in flutter documentation for page routing // Within the `FirstRoute` widget onPressed: () { Navigator.push( context, Mate

How to solve "Invalid image data" error in Flutter

I'm using SQLite for storing data locally. insert an image as a string and get them to show here is the error that occurs _Exception (Exception: Invalid image d

Flutter expansion tile remove trailing

i have a exoansiontile and i want it to be like a box, everything centered, the problem is that if i add a text that is too long, i get the overflow error and i

Flutter hero animation between widgets not screens

Hero animation is the best for navigating between screen, but I need same animation between widgets. Like one card moving another place for example: Product Car

Animated Container is not animating when list changed

import "package:flutter/material.dart"; import "dart:async"; class JoinScreen extends StatefulWidget { @override _JoinScreenState createState() { re

Flutter AnimatedSwitcher jumps between children

I am trying to implement some custom design in an expasion panel list. Therefore, I wanted to create some kind of animation that animates smoothly from one view

Error "This widget has been unmounted, so the State no longer has a context (and should be considered defunct)" upon SDK and packages upgrade

I got the error "This widget has been unmounted, so the State no longer has a context (and should be considered defunct. Consider canceling any active work duri

How to create Confetti animation in Flutter

I want to a make Confetti effect animation in my flutter app? How to Explore Confetti Animation In Flutter and how to add the confetti animation and show a colo

AnimatedContainer with Column child

I would like to animate the child height of an AnimatedContainer where the child is a Column widget. While I can animate the Column, the Column's children are a

how to POP with animation in flutter

I am triggering a Navigator.pop event and I want to fade out the transition to the page. I have tried Fluro but not I'm not interested in implementing it. This

Show modal bottom sheet with custom animation

I was playing around with showModalBottomSheet() in Flutter and I was thinking about changing the default slide from bottom animation. Looking throught flutter

What is the default Curve behavior for PageView in Flutter?

The PageController of a PageView has a function animateToPage which allows to define the curve effect during page swipe. Future<void> animateToPage(

Programmatically scrolling to the end of a ListView

I have a scrollable ListView where the number of items can change dynamically. Whenever a new item is added to the end of the list, I would like to programmatic

Customize dropdownbutton - going up

It's maybe a stupid question, but I don't know how to make a dropdownbutton that go up and no down when it is focused. Maybe I need to create my own ? Or is it