Closed fuyunmanbu closed 3 years ago
Add a minimum code to reproduce the issue
Container(
height: 280,
width: double.infinity,
decoration: BoxDecoration(
color: Colors.white,
borderRadius: BorderRadius.circular(10)
),
child: CircularPercentIndicator(
radius: 200,
lineWidth: 10,
animation: true,
percent: 0.7,
center: Text(
"70.0%",
// style: Constants.textBold20,
),
footer: Container(
color: Colors.amber,
child: Text(
"footer",
// style: Constants.textBold14,
),
),
circularStrokeCap: CircularStrokeCap.round,
progressColor: Color(0xFF1994F4),
backgroundColor: Colors.white,
arcType: ArcType.HALF,
arcBackgroundColor: Color(0xFFF2F3F7)
),
)
Play with the offset
value.
footer: Transform.translate(
offset: Offset(0.0, -50),
child: Container(
color: Colors.amber,
child: Text(
"footer",
// style: Constants.textBold14,
),
),
),
thank you very much