Last updated:
0 purchases
flutter dynamic calculator
flutter_dynamic_calculator #
A new flutter package to build dynamic calculator easily with full customization ability. It'll be helpful for making a custom keyboard or a bottom sheet modal calculator.
Default style #
With custom styles #
DynamicCalculator(
theme: const CalculatorTheme(
displayColor: Colors.black,
displayStyle: const TextStyle(fontSize: 80, color: Colors.yellow),
/*...*/
),
)
copied to clipboard
Getting Started #
To use this plugin, add flutter_dynamic_calculator as a dependency in your pubspec.yaml file.
dependencies:
flutter_dynamic_calculator:
copied to clipboard
Import the library in your file.
import 'package:flutter_dynamic_calculator/flutter_dynamic_calculator.dart';
copied to clipboard
See the example directory for a complete sample app using DynamicCalculator.
Or use the DynamicCalculator like below.
DynamicCalculator(
value: 123.45,
hideExpression: true,
onChanged: (key, value, expression) {
/*...*/
},
theme: const CalculatorTheme(
displayColor: Colors.black,
displayStyle: const TextStyle(fontSize: 80, color: Colors.yellow),
),
)
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.