isprime 0.0.4 copy "isprime: ^0.0.4" to clipboard
isprime: ^0.0.4 copied to clipboard

A flutter package for checking an integer number is prime or not.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add isprime

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  isprime: ^0.0.4

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:isprime/isprime.dart';
1
likes
160
points
44
downloads

Publisher

unverified uploader

Weekly Downloads

A flutter package for checking an integer number is prime or not.

Repository (GitHub)
View/report issues

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

flutter

More

Packages that depend on isprime