pueprint library

Classes

AppBarData
This is a data class for the appBar that is defined in the Pueprint widget. To use, descendant PuePage widgets of the Pueprint parent define the appBarData that should be shown on the page. Then, the PuePage calls the setState method in this class which changes the state. Finally the parent Pueprint is notified of this state and gets rebuilt with the new data via the appBarBuilder parameter.
BackAppBar
This is a basic appBar that eliminates any default AppBar styling, and has a transparent background and shadow colour, black icon colour and 0 elevation.
BasicAppBar
This is a basic appBar that eliminates any default AppBar styling, and has a transparent background and shadow colour, black icon colour and 0 elevation.
EmptyAppBar
Pass this into the appBar parameter of PuePage to completely remove the appBar for that specific page.
EmptyFooter
Pass this into the footer parameter of PuePage to completely remove the footer for that specific page.
FooterData
This is the data class that holds the current footer information in a flow. It is provided via the footerBuilder parameter in the Pueprint. Use PuePages to update the footer data by passing in FooterData to the footerData argument
PueBackground
A widget to easily set the background of the PuePage or Pueprint. Just pass in one of the following:
PueBody
This widget is intended to be used in the body parameter of the PuePaqe or SoloPuePage widgets. It provides some extra functionality as opposed to just putting your own widget in the body section of the PuePage (which is completely possible if you prefer). You can easily turn the body into a listview, and fade the top and bottom of the body out. It also has gutters so that the header, body and footer can all have the same horizontal padding.
PueConstants
PueFooter
This widget is intended to be used in the footer parameter of the Pueprint, PuePaqe or SoloPuePage widgets. It provides an area to plug in your footer, as well as a top and bottom area for page indicators, progress bars, etc. It also takes a floating argument that determines whether the footer should float over the body or not.
PueHeader
Default simple header that renders a header and subheader string. Also allows you to completely shove your own title widget in, as well as a subtitle widget that exists under the title widget.
PuePage
Use this widget in for each flow page that is a descendant of a Pueprint.
Pueprint
This is the parent widget that descendant PuePages will modify. It renders the appBar and footer, so that on page changes, these elements will not transition.
PueProvider
This class provides 1 or 3 pieces of state to descendants, depending on whether it is in the Pueprint widget or not. If in the Pueprint, it provides a PueTheme, AppBarData and FooterData to descendants. If not, then it only provides PueTheme to descendants (like SoloPuePage) to use
PueTheme
The PueTheme contains all of the information for descendant Pue widgets. These fields will be used to help descendant PueHeaders, PueBodys and PueFooters have consistent gutters and styling
SoloPuePage
This widget can be used as a base for laying out your page. It is similar to PuePage, but doesn't modify a parent Pueprint. It also renders everything itself, without the help of a parent Pueprint.