skip to Main Content

Flutter – Move widget to right in Stack

How to move the image to the right? Stack( alignment: Alignment.centerRight, children: [ Container( decoration: BoxDecoration( borderRadius: BorderRadius.circular(15), gradient: LinearGradient( begin: Alignment.topLeft, end: Alignment.topRight, colors: [ Colors.red, Colors.green.shade200, ], ), ), width: MediaQuery.of(context).size.width, height: 80, ), Positioned( right: 0, left:…

VIEW QUESTION
Back To Top
Search