flutter_stringprocess 0.1.2
flutter_stringprocess: ^0.1.2 copied to clipboard

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

example/lib/example.dart

// Copyright (c) 2020, SSebigo. All rights reserved.
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file.

import 'package:flutter_stringprocess/flutter_stringprocess.dart';

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

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

  // Repeat Something!
  print(tps.generateRepeatedString('Mine!', 42));

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

  // Line count.
  print(tps.getLineCount('hello\ngood\nevening\nwelcome!\n'));
}
0
likes
100
pub points
0%
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-3-Clause (LICENSE)

Dependencies

flutter, html_unescape, markdown

More

Packages that depend on flutter_stringprocess