DartArt

Experience Dart’s coding aesthetics here

LGPL-2.1 License

Stars
2

Overview

DartArt is a collection of useful dart utils for all dart developers.

Features

  • BinarySize class, to convert bytes to human readable format

Usage

  1. Add the dependency to your pubspec.yaml file Recommend to use command line:

    With Flutter

    flutter pub add dart_art
    

    With Dart

    dart pub add dart_art
    
  2. Import library

    import 'package:dart_art/dart_art.dart';
    
  3. Use like examples

    BinarySize:

    var size = BinarySize()..bytesCount = 1024;
    
    print(size.displayText); // 1.00 KB
    

Contributors

Star History

Package Rankings
Top 33.71% on Pub.dev
Badges
Extracted from project README
Contributors Star History Chart