How do I make this blue-circle not overlap the green-box, but insted be confined to the inner bounderyes of the green-box?
Code:
Container(
width: 300,
height: 100,
color: Colors.green,
child: Transform.scale(
scale: 2,
child: Container(
decoration: BoxDecoration(
shape: BoxShape.circle,
color: Colors.blue
),
),
),
),
Pictures tells the rest:
Thx already
- Tobias