flutter_stringprocess 0.1.1
flutter_stringprocess: ^0.1.1 copied to clipboard

Flutter Android iOS web

The flutter_stringprocess package defines a set of methods to process strings.

stringprocess #

A string library for common string operations and general text helper functions.

Disclaimer #

This package is a fork of stringprocess by Davy Mitchell @daftspaniel that you can find here.

This fork is meant to be actively maintained and updated with the latest stable release of the dependencies used in this package.

Usage #

A simple usage example:

import 'package:flutter_stringprocess/flutter_stringprocess.dart';

main() {
  // A few simple examples.
  StringProcessor tps = new StringProcessor();

  // Print the numbers 1 to 10.
  print(tps.getSequenceString(1, 10, 1));

  // Repeat Something!
  print(tps.getRepeatedString("Mine!", 42));

  // Word count.
  print(tps.getWordCount("Dart is Awesome and cool!"));

  // Line count.
  print(tps.getLineCount("hello\ngood\nevening\nwelcome!\n"));
}

Unit Testing #

  • pub run test

Check source code formatting: #

  • dartfmt -n .

Acknowledgements #

This package makes use of the following Dart packages:

  • html_unescape
  • markdown

Features and bugs #

Please file feature requests and bugs!

0
likes
110
pub points
29%
popularity

Publisher

killy.io

The flutter_stringprocess package defines a set of methods to process strings.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD (LICENSE)

Dependencies

flutter, html_unescape, markdown

More

Packages that depend on flutter_stringprocess