Readable

a collection of helpers and extension for dart & flutter

License: MIT Issues Style: lint Maintained with Melos

Example

  /// Before ::
  final width = MediaQuery.of(context).size.width;
  /// After::
  final width = context.width;

  final data = [1,2,3,4,5];
  
  final total = data.sum(); // 15

  final minimNumber = data.min(); // 1

  final maximumNumber = data.max(); // 5

  final average = data.average(); // 3
 

all helpers

with dart see Documentation

with flutter see Documentation

Libraries

readable
readable