Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/joseluisq/dart-factorial-example

A Dart factorial library example.
https://github.com/joseluisq/dart-factorial-example

dart factorial

Last synced: 13 days ago
JSON representation

A Dart factorial library example.

Awesome Lists containing this project

README

        

# Dart sample

> A [Dart](https://www.dartlang.org/) factorial library example.

Created from templates made available by Stagehand under a BSD-style
[license](https://github.com/dart-lang/stagehand/blob/master/LICENSE).

## Usage

### Tasks usage

```sh
# 1. install dependencies
make deps

# 2.1. run example
make run
# 2.2. test example
make test
```

### Code usage

A simple code usage example:

```dart
import 'package:dart_sample/lib.dart';

main() {
var math = Math();
double n = math.factorial(24);
}
```