Answers for "how to make round off value in flutter"

0

round off in dart

//dart code
double x = 5.56753;
String roundedX = x.toStringAsFixed(2);
print(roundedX);
Posted by: Guest on May-05-2021
0

How to round container corners in flutter

decoration: BoxDecoration(borderRadius: BorderRadius.all(Radius.circular(10)))
Posted by: Guest on August-09-2021

Code answers related to "how to make round off value in flutter"

Browse Popular Code Answers by Language