alfreed library

Classes

AlfreedAnimation
AlfreedContext
AlfreedPage<P extends Presenter<dynamic, AlfreedView>, M, I extends AlfreedView>
AlfreedPageBuilder<P extends Presenter<dynamic, AlfreedView>, M, I extends AlfreedView>
AlfreedView
This class must be overriden too
Device
DeviceRange
Presenter<T, I extends AlfreedView>
This class must be overriden too
PresenterInherited<T extends Presenter<dynamic, AlfreedView>, M>
Wraps presenter inside a persistent Widget

Constants

sizes → const Map<WindowSize, DeviceRange>

Typedefs

AlfreedAnimationBuilder = Map<String, AlfreedAnimation> Function(TickerProvider tickerProvider)
builds a single AlfreedAnimation
AlfreedAnimationsBuilder = Map<String, AlfreedAnimation> Function(TickerProvider tickerProvider)
functions to create animations using a string key to find your animation back
AlfreedViewBuilder<I extends AlfreedView> = I Function(BuildContext context)
builds the interface that the presenter can call to call the view
MvvmAnimationListener<P extends Presenter<dynamic, AlfreedView>, M> = void Function(AlfreedContext context, P presenter, M model)
functions to handle animation state without refresh page
PresenterBuilder<P extends Presenter<dynamic, AlfreedView>> = P Function(BuildContext context)
builds a presenter