Features

1 2

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,

        )));
  }
}