flute library

flute is the simplest state management solution ever, at least I think so.

It depends on nothing, works really fast with minimum code usage.

With flute, you don't need to wrap your material app for state, you don't need any complex libraries and most importantly your don't need context to have a state or update state.

Mixins

FluteFunctions
Flute provides easier ways to use utility functions.

Extensions

ContextDeviceExtensions on BuildContext
Device extensions of BuildContext
ContextRoutingExtensions on BuildContext
Routing extensions of BuildContext
ContextWidgetExtensions on BuildContext
Widget extensions of BuildContext
StringExtensions on String
These extensions are both for utility and localization.

Constants

kTokenKey → const String

Properties

Flute → _Flute
The root of Flute library's utilities.
final
FluteStorage → _FluteStorage
FluteStorage is a local storage implementation for Flute.
final

Functions

add<T>(List<T> list, T item) List<T>
addAndFilter<T>(List<T> list, dynamic item, bool test(T item)) List<T>
firstWhereOrNull<T>(List<T> list, bool test(T item)) → T?
insert<T>(List<T> list, T item) List<T>
insertAndFilter<T>(List<T> list, dynamic item, bool test(T item)) List<T>
update<T>(List<T> list, bool test(T item), T updatedItem) List<T>
where<T>(List<T> list, bool test(T item)) List<T>

Typedefs

GetHeaders = Map<String, String> Function()
OnError = void Function(DioException exception, ErrorInterceptorHandler handler)
VoidFunction = void Function()