maxzod/readable

extensions and helpers for dart to save time , make the code more readable and smaller

前往 github 下載
maxzod/readable

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

與 maxzod/readable 相關優秀專案推薦下載