FFView<Watched, FFState extends WatchableProps<Watched>, ViewModel extends FFViewModel<Watched, FFState>, Controller extends FFController<Watched, FFState>> class abstract

Inheritance

Constructors

FFView({Key? key})
const

Properties

buildFooter → Widget Function(BuildContext context, Controller controller, ViewModel viewModel)?
if null, we dont show any footer
no setter
hashCode → int
The hash code for this object.
no setterinherited
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

build(BuildContext context) → Widget
Describes the part of the user interface represented by this widget.
inherited
buildBody(BuildContext context, Controller controller, ViewModel viewModel) → Widget
buildBodyChildren(BuildContext context, Controller controller, ViewModel viewModel) → Iterable<Widget>
consider overriding buildBody if you need custom slivers
buildHeader(BuildContext context, Controller controller, ViewModel viewModel) → PreferredSizeWidget?
be careful with putting to much in here, as rebuilding this, will rebuild the entire view consider using buildTitle instead
buildRoute(BuildContext context, Controller controller, ViewModel viewModel) → Widget
buildTitle(BuildContext context, Controller controller, ViewModel viewModel) → Widget
buildWidget(BuildContext context, Controller controller, ViewModel viewModel) → Widget
override
createElement() → StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
debugDescribeChildren() → List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
itemBuilderFor<T>(FFDynamicModel<T> props, Widget builder(BuildContext context, ViewModel viewModel, T value)) → Widget? Function(int index)
inherited
iterateOver<T>(FFDynamicModel<T> props, Widget builder(BuildContext context, ViewModel viewModel, T? value)) → List<Widget>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) → String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String
Returns a one-line detailed description of the object.
inherited
toStringShort() → String
A short, textual description of this widget.
inherited

Operators

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