simple_custom_calculator 0.0.2
simple_custom_calculator: ^0.0.2 copied to clipboard
A simple custom calculator template for scalable customization. See the example for instructions on how to use it.
Features #
Getting started #
To use this plugin, add simple_custom_calculator
as a dependency in your pubspec.yaml file.
dependencies:
simple_custom_calculator:
Import the library in your file.
import 'package:simple_custom_calculator/simple_custom_calculator.dart';
Usage #
class _MyHomePageState extends State<MyHomePage> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(widget.title),
),
body: Center(
child: SimpleCustomCalculator(
width: 500,
height: 600,
backgroundColor: Colors.black.withOpacity(0.8),
buttonColor: Colors.blueGrey,
buttonIsRectangle: true,
buttonPadding: 3.0,
numberSize: 39,
)));
}
}