my_custom_package

A lightweight Dart package that provides a simple calculator utility for incrementing integer values.

Features

  • Increment an integer by one.
  • Simple API that is easy to use.
  • Includes unit tests.

Getting started

Add the package to your Flutter project's pubspec.yaml:

dependencies:
  my_calculator_utils: ^0.0.3

Then run:

flutter pub get

Usage

Import the package:

import 'package:my_calculator_utils/my_custom_package.dart';

void main() {
  final calculator = Calculator();

  print(calculator.addOne(2));  // 3
  print(calculator.addOne(10)); // 11
}

Testing

Run the package tests with:

flutter test

License

This package is distributed under the MIT License.

Libraries

my_custom_package