fractional_indexing_dart 1.0.4
fractional_indexing_dart: ^1.0.4 copied to clipboard
A Dart implementation of fractional indexing for efficient list ordering and reordering without large-scale updates. Ideal for CRDTs and real-time apps.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add fractional_indexing_dartThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
fractional_indexing_dart: ^1.0.4Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:fractional_indexing_dart/fractional_indexing_dart.dart';