decimal 1.0.0-nullsafety decimal: ^1.0.0-nullsafety copied to clipboard
The decimal package allows you to deal with decimal numbers without loosing precision.
import 'package:decimal/decimal.dart';
void main() {
print(Decimal.parse('0.1') + Decimal.parse('0.2'));
}