supercharged_dart_plus 2.3.0 copy "supercharged_dart_plus: ^2.3.0" to clipboard
supercharged_dart_plus: ^2.3.0 copied to clipboard

Supercharged Plus brings all the comfort features from languages like Kotlin to all Dart developers.

Supercharged Dart Plus (supercharged_dart_plus) #

Supercharged Dart Plus brings Kotlin-like comfort features and extension functions to Dart developers for native, server, and web projects.

Maintained and optimized for pub.dev by rizkyghofur.


Features #

  • Collection & List Utilities: Sorting helpers (sortAsc, sortDesc), slicing, grouping, filtering, chunking, distinctBy.
  • String Enhancements: Substring extraction, capitalize(), toTitleCase(), removePrefix(), removeSuffix(), isEmail, isUrl.
  • DateTime Helpers: isToday, isYesterday, isTomorrow, copyWith().
  • Numbers & Iteration: Range generation (0.rangeTo(5)), duration units (2.seconds), math helpers.

Installation #

Add supercharged_dart_plus to your pubspec.yaml:

dependencies:
  supercharged_dart_plus: ^2.3.0

Import it in your Dart code:

import 'package:supercharged_dart_plus/supercharged_dart_plus.dart';

Code Examples #

Sorting Helpers #

final list = [1, 3, 2, 4];

list.sortAsc();  // [1, 2, 3, 4]
list.sortDesc(); // [4, 3, 2, 1]

Iteration & Ranges #

0.rangeTo(5); // [0, 1, 2, 3, 4, 5]

License #

Original project licensed under MIT License. Owner & Maintainer: rizkyghofur.

0
likes
160
points
50
downloads

Documentation

API reference

Publisher

verified publisherrizkyghofur.my.id

Weekly Downloads

Supercharged Plus brings all the comfort features from languages like Kotlin to all Dart developers.

Repository (GitHub)
View/report issues

Topics

#extension-methods #dart #utilities #helpers

License

MIT (license)

More

Packages that depend on supercharged_dart_plus