I want to give animation to my container, I want to increase the size from a low width and height of the container up to the default size that it is taking now.
Container(
decoration: BoxDecoration(
image: DecorationImage(
fit: BoxFit.cover,
colorFilter:ColorFilter.mode(Colors.pink, BlendMode.color),
image: AssetImage(
'lib/images/Alone.jpg',
),
),
borderRadius: BorderRadius.circular(10),
gradient: LinearGradient(
colors: <Color>[
Colors.yellowAccent,
Colors.blueAccent,
]
)
),
child: FlatButton(
onPressed: (){
Navigator.push(
context,
MaterialPageRoute(builder: (context)=>Alone())
);
},
child: Padding(
padding: const EdgeInsets.all(24.0),
child: Text(
'Alone',
style: TextStyle(
fontWeight: FontWeight.bold,
color: Colors.white,
fontSize: 20,
),
),
),
),
),