Skip to main content

my_calculator_utils 0.0.3 copy "my_calculator_utils: ^0.0.3" to clipboard
my_calculator_utils: ^0.0.3 copied to clipboard

A lightweight Dart calculator utility that provides a simple function to increment integer values

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.

2
likes
135
points
131
downloads

Documentation

API reference

Publisher

verified publisherflutter.dhihired.com

Weekly Downloads

A lightweight Dart calculator utility that provides a simple function to increment integer values

License

MIT (license)

Dependencies

flutter

More

Packages that depend on my_calculator_utils