ViewData class

Constructors

ViewData({String routeName, bool displayTopBar = true, bool expandRightView = false, Widget leftView(BuildContext), @required Widget mainView(BuildContext), Widget rightView(BuildContext), Widget emptyView(BuildContext), double columnWidth})
Use leftView to display a left column next to the mainView. It will only be displayed if there is enough space. Use rightView too to create a three column layout. If the screen is in columnMode but not wide enough to display more than 2 columns, it will display the rightView in the center and the leftView on the left side.

Properties

columnWidth double
final
displayTopBar bool
final
emptyView Widget Function(BuildContext)
final
expandRightView bool
final
focusView Widget Function(BuildContext)
read-only
hashCode int
The hash code for this object.
read-onlyinherited
leftView Widget Function(BuildContext)
final
mainView Widget Function(BuildContext)
final
rightView Widget Function(BuildContext)
final
routeName String
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited