comprehensive_utils 0.6.2 copy "comprehensive_utils: ^0.6.2" to clipboard
comprehensive_utils: ^0.6.2 copied to clipboard

A collection of classes and functions containing simple and complex performance-oriented tools

Features #

Widgets:

  • FluentListView

Tools:

  • ObservableTimer

Streams:

  • DistinctSubject
  • DistinctValueStream
  • DistinctConnectableStream

Extensions:

  • shareDistinctValue
  • shareDistinctValueSeeded
  • publishDistinctValue
  • publishDistinctValueSeeded

Getting started #

Add package import:

import 'package:comprehensive_utils/comprehensive_utils.dart';

Usage #

final DistinctSubject<String> _userNameSubject = DistinctSubject<String>();

DistinctValueStream<String> get userNameStream => _userNameSubject.stream;

void changeUserName(String userName) {
  // the value will be added to Stream if it differs from the previous one
  _userNameSubject.add(userName);
}
7
likes
130
pub points
62%
popularity

Publisher

unverified uploader

A collection of classes and functions containing simple and complex performance-oriented tools

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

async, async_builder, collection, fast_immutable_collections, flutter, nil, rxdart

More

Packages that depend on comprehensive_utils