π¦ is_prime_number_
A simple, lightweight Dart package to check if a number is prime (tub son).
Useful for math projects, competitive programming, or any app that needs prime number checking.
β¨ Features
- β Check if a number is prime with a single function call
- β‘ Efficient algorithm (optimized for small and large numbers)
- π§ͺ Includes tests for validation
- π¦ Works in Dart and Flutter projects
π Installation
Add the following line to your pubspec.yaml
:
dependencies:
is_prime_number_: ^0.0.1