supercharged library

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

Start supercharging your code by importing it:

import 'package:supercharged/supercharged.dart';

Extensions

Animatable_
Supercharged extension on Animatable objects.
Color_
Supercharged extension on Color objects.
DateTime_
Supercharged extension on DateTime objects.
Double_
Supercharged extensions on double numbers.
Duration_
Int_
Supercharged extensions on int numbers.
Iterable_
Supercharged extensions on Iterables like List and Set.
IterableOfDouble_
Supercharged extensions on Iterable<double> like List<double> and Set<double>.
IterableOfInt_
Supercharged extensions on Iterable<int> like List<int> and Set<int>.
IterableOfMapEntry_
Supercharged extensions on Iterable<MapEntry> like List<MapEntry> and Set<MapEntry>.
List_
Supercharged extensions on List.
Map_
Supercharged extensions on Map.
String_
Supercharged extensions on String.

Functions

throwIf(bool test, Error errorFactoryFunc()) → void
Throws an Error if predicate test is satisfied [...]
throwIfNot(bool test, Error errorFactoryFunc()) → void
Throws an Error if predicate test is not satisfied [...]