comprehensive_utils

Creator: coderz1093

Last updated:

0 purchases

comprehensive_utils Image
comprehensive_utils Images

Languages

Categories

Add to Cart

Description:

comprehensive utils

Features #
Widgets

FluentListView

Tools

IndexingCollection<T>
ObservableTimer
CacheManager

Streams

DistinctSubject
DistinctValueStream
DistinctConnectableStream

Extensions


on Stream:

publishDistinctValue
publishDistinctValueSeeded
shareDistinctValue
shareDistinctValueSeeded
mapDistinctValue<T>
takeUntilFuture



on Iterable:

parseList<T>
parseIterable<T>



on Function:

apply



Getting started #
Add package import:
import 'package:comprehensive_utils/comprehensive_utils.dart';
copied to clipboard
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);
}
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.