lodart 0.4.0 copy "lodart: ^0.4.0" to clipboard
lodart: ^0.4.0 copied to clipboard

Lodart is a Dart utility library like lodash and aims to implement utilities to make Dart easier to use and keep similar naming styles to lodash.

Lodart #

pub package Test workflow Code coverage Code size

Lodart is a Dart utility library like lodash.

The goal of lodart is NOT to implement all methods in lodash because of the difference between Dart and JavaScript. Lodart aims to implement utilities to make Dart easier to use and keep similar naming styles to lodash.

Installation #

Run dart pub add lodart in your dart project or flutter pub add lodart in flutter project.

Features #

Lodart provides some utilities like lodash includes List(Arrary in JavaScript) and etc.

Methods #

Here are all the methods included in lodart. For details, please check API reference.

Collection #

  • chunk
  • dropNull
  • groupBy
  • max
  • maxBy
  • min
  • minBy
  • splice
  • toAdded
  • toRemoved
  • toRemovedAt
  • toReplaced
  • toReplacedWhere
  • toSpliced
  • unique
  • uniqueBy

Number #

  • inRange

Usage #

Import the lodart library and then you can use these extension methods in your project.

See the specific example of every function in the Dart generated documentation.

import 'package:lodart/lodart.dart';
2
likes
150
pub points
0%
popularity

Publisher

verified publisherdev.ayk.moe

Lodart is a Dart utility library like lodash and aims to implement utilities to make Dart easier to use and keep similar naming styles to lodash.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

More

Packages that depend on lodart