v2.7.1flutter_simple_calculator
सरल कैलकुलेटर प्रदान करने वाला फ्लटर विजेट। आप अपने ऐप्स में आसानी से कैलकुलेटर को एकीकृत कर सकते हैं।
127लाइक 1.8 हज़ार30-दिन डाउनलोड160Pub अंक
AndroidiOSWebmacOSWindowsLinux
सरल कैलकुलेटर प्रदान करने वाला फ्लटर विजेट।
{"sdk":"flutter"}^0.20.2^2.3.1^3.0.0^3.1.0^6.0.0{"sdk":"flutter"}यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
Flutter widget that provides simple calculator. You can easily integrate a calculator to your apps.
SimpleCalculator(
theme: const CalculatorThemeData(
displayColor: Colors.black,
displayStyle: const TextStyle(fontSize: 80, color: Colors.yellow),
/*...*/
),
)
SimpleCalculator(
numberFormat: NumberFormat.decimalPattern("fa_IR")
..maximumFractionDigits = 6,
)
To use this plugin, add flutter_simple_calculator as a dependency in your pubspec.yaml file.
dependencies:
flutter_simple_calculator:
Import the library in your file.
import 'package:flutter_simple_calculator/flutter_simple_calculator.dart';
See the example directory for a complete sample app using SimpleCalculator.
Or use the SimpleCalculator like below.
SimpleCalculator(
value: 123.45,
hideExpression: true,
onChanged: (key, value, expression) {
/*...*/
},
theme: const CalculatorThemeData(
displayColor: Colors.black,
displayStyle: const TextStyle(fontSize: 80, color: Colors.yellow),
),
)