pure_dart_ui 0.1.4 copy "pure_dart_ui: ^0.1.4" to clipboard
pure_dart_ui: ^0.1.4 copied to clipboard

The classes from `dart.ui` that run on pure Dart without depending on the Flutter SDK.

Pure Dart UI #

Cover - Pure Dart UI

The classes from dart.ui that run on pure Dart.

Eliminates the error "Dart library 'dart:ui' is not available on this platform".

Features #

Classes independed of the Flutter SDK #

  • Color
  • Offset
  • Rect
  • Size

Functions independed of the Flutter SDK #

  • clampDouble
  • lerpDouble()

Usage #

Add this package to pubspec.yaml and import the library:

import 'package:pure_dart_ui/pure_dart_ui.dart';

Use the classes and functions in this package same way you used Flutter dart:ui.

You can create your own application with dart:ui based on a pure Dart, without depending on the Flutter SDK.

License #

MIT

5
likes
0
pub points
79%
popularity

Publisher

verified publishersyrokomskyi.com

The classes from `dart.ui` that run on pure Dart without depending on the Flutter SDK.

Repository (GitHub)
View/report issues

Topics

#pure-dart #ui #geometry #color #rectangle

License

unknown (license)

More

Packages that depend on pure_dart_ui