FLUTTER ECOSYSTEM

zuvola/flutter_simple_calculator

सरल कैलकुलेटर प्रदान करने वाला फ्लटर विजेट।

flutter_simple_calculator प्रोजेक्ट कवर
Stars
26
Forks
27
अंतिम पुश (UTC)
4 मार्च 2026
प्रोजेक्ट स्थिति
सक्रिय
zuvola GitHub avatar
भाषाएँDartC++CMakeHTMLCSwiftKotlinObjective-C

इस रिपॉज़िटरी के पैकेज

उपयोग की गई निर्भरताएँ

निर्भरता सूची 7 आइटम

मूल README

यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।

README खोलें / बंद करें

flutter_simple_calculator

Flutter widget that provides simple calculator. You can easily integrate a calculator to your apps.

pub package

Default style
https://github.com/zuvola/flutter_simple_calculator/blob/master/example/screenshot_1.png?raw=true
With custom styles
https://github.com/zuvola/flutter_simple_calculator/blob/master/example/screenshot_2.png?raw=true
SimpleCalculator(
  theme: const CalculatorThemeData(
    displayColor: Colors.black,
    displayStyle: const TextStyle(fontSize: 80, color: Colors.yellow),
    /*...*/
  ),
)
Localize
https://github.com/zuvola/flutter_simple_calculator/blob/master/example/screenshot_3.png?raw=true
SimpleCalculator(
  numberFormat: NumberFormat.decimalPattern("fa_IR")
    ..maximumFractionDigits = 6,
)

Getting Started

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),
  ),
)