flutter_simple_calculator

Creator: coderz1093

Last updated:

Add to Cart

Description:

flutter simple calculator

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

Default style #

With custom styles #

SimpleCalculator(
theme: const CalculatorThemeData(
displayColor: Colors.black,
displayStyle: const TextStyle(fontSize: 80, color: Colors.yellow),
/*...*/
),
)
copied to clipboard
Localize #

SimpleCalculator(
numberFormat: NumberFormat.decimalPattern("fa_IR")
..maximumFractionDigits = 6,
)
copied to clipboard
Getting Started #
To use this plugin, add flutter_simple_calculator as a dependency in your pubspec.yaml file.
dependencies:
flutter_simple_calculator:
copied to clipboard
Import the library in your file.
import 'package:flutter_simple_calculator/flutter_simple_calculator.dart';
copied to clipboard
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),
),
)
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.