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

AnimatableSCF
Supercharged Flutter extension on Animatable objects.
AnimationSCF
Supercharged Flutter extension on Animation objects.
ColorSCF
Supercharged Flutter extension on Color objects.
DateTimeSC
Supercharged extension on DateTime objects.
DoubleSC
Supercharged extensions on double numbers.
DoubleSCF
Supercharged Flutter extensions on double numbers.
DurationSC
Supercharged extensions on Duration.
IntSC
Supercharged extensions on int numbers.
IntSCF
Supercharged Flutter extensions on int numbers.
IterableOfDoubleSC
Supercharged extensions on Iterable<double> like List<double> and Set<double>.
IterableOfIntSC
Supercharged extensions on Iterable<int> like List<int> and Set<int>.
IterableOfMapEntrySC
Supercharged extensions on Iterable<MapEntry> like List<MapEntry> and Set<MapEntry>.
IterableSC
Supercharged extensions on Iterables like List and Set.
ListSC
Supercharged extensions on List.
MapSC
Supercharged extensions on Map.
OffsetSCF
Supercharged Flutter extensions on Offset.
StringSC
Supercharged extensions on String.
StringSCF
Supercharged Flutter 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 [...]