niki_util 2.0.0 copy "niki_util: ^2.0.0" to clipboard
niki_util: ^2.0.0 copied to clipboard

A simple utility package for learning Dart package development and publishing. Includes basic math operations and utilities.

2.0.0 - 2026-01-22 #

โš ๏ธ BREAKING CHANGES #

  • Changed add() return type from int to String
    • Old: int add(int a, int b) returned the numeric sum
    • New: String add(int a, int b) returns formatted string like "Sum is : 8"
    • Migration: Change your code to expect String instead of int

Example Migration #

// Before (v1.0.0):
int result = math.add(5, 3);  // result = 8
print(result + 2);             // prints 10

// After (v2.0.0):
String result = math.add(5, 3); // result = "Sum is : 8"
print(result);                  // prints "Sum is : 8"

1.0.0 - 2026-01-22 #

  • ๐ŸŽ‰ Initial release
  • โœจ Added NikiMath class with basic math operations
  • โž• Implemented add method for integer addition
  • ๐Ÿ“ Added comprehensive documentation
  • โœ… Included example code
  • ๐Ÿงช Added unit tests
  • ๐Ÿ“„ Added MIT License
0
likes
160
points
6
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A simple utility package for learning Dart package development and publishing. Includes basic math operations and utilities.

Repository (GitHub)
View/report issues

License

MIT (license)

More

Packages that depend on niki_util