slownie 0.3.2

slownie #

slownie is numbers to words converter in polish. It's a port of this PHP version

License #

MIT License.

Usage #

A simple usage example:

import 'package:slownie/slownie.dart';

main() {
 //printed text: 'czterdzieści cztery'

Features and bugs #

Please file feature requests and bugs at the issue tracker.

0.3.2 #

DartDocs #

  • added example

0.3.1 #

DartDocs #

  • added dartdocs and formatted code with dartfmt

0.3 #

Dart 2.x #

  • migrate to Dart 2.0

0.2 #


  • fix minus sign print


import 'package:slownie/slownie.dart';

main() {
  //output: czterdzieści cztery

  //output: minus dziewięćdziesiąt dwa tysiące dwieście czterdzieści cztery

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  slownie: ^0.3.2

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter pub get

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

3. Import it

Now in your Dart code, you can use:

import 'package:slownie/slownie.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Feb 13, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.1
  • pana: 0.13.5

Health suggestions

Fix lib/slownie.dart. (-1.99 points)

Analysis of lib/slownie.dart reported 4 hints:

line 91 col 5: DO use curly braces for all flow control structures.

line 108 col 18: Unnecessary new keyword.

line 129 col 23: DO use curly braces for all flow control structures.

line 149 col 5: DO use curly braces for all flow control structures.

Maintenance suggestions

The package description is too short. (-20 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Package is getting outdated.

The package was last published 52 weeks ago.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
Dev dependencies
test any