Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dynesshely/dartart
Experience Dart’s coding aesthetics here
https://github.com/dynesshely/dartart
dart dart-library dart-package
Last synced: 2 months ago
JSON representation
Experience Dart’s coding aesthetics here
- Host: GitHub
- URL: https://github.com/dynesshely/dartart
- Owner: Dynesshely
- License: lgpl-2.1
- Created: 2024-04-16T14:15:11.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-09-30T16:22:56.000Z (3 months ago)
- Last Synced: 2024-10-11T19:43:14.854Z (3 months ago)
- Topics: dart, dart-library, dart-package
- Language: Dart
- Homepage:
- Size: 247 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![banner](https://raw.githubusercontent.com/Dynesshely/DartArt/main/art/banner.png)
# 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
```shell
flutter pub add dart_art
```With Dart
```shell
dart pub add dart_art
```2. Import library
```dart
import 'package:dart_art/dart_art.dart';
```3. Use like examples
`BinarySize`:
```dart
var size = BinarySize()..bytesCount = 1024;print(size.displayText); // 1.00 KB
```# Contributors
[![Contributors](https://contrib.rocks/image?repo=Dynesshely/DartArt)](https://github.com/Dynesshely/DartArt/graphs/contributors)
# Star History
[![Star History Chart](https://starchart.cc/Dynesshely/DartArt.svg?variant=adaptive)](https://starchart.cc/Dynesshely/DartArt)