ActiveGridForm class

A Widget to display a ActiveGrid Form

In order to use this there needs to be a ActiveGrid Widget in the Widget tree

Inheritance
Annotations
  • @Deprecated('ActiveGrid is now ApptiveGrid please use the new ApptiveGrid Packages https://pub.dev/packages?q=apptive_grid')

Constructors

ActiveGridForm({Key? key, required String formId, TextStyle? titleStyle, EdgeInsets? contentPadding, EdgeInsets? titlePadding, bool hideTitle = false, void onFormLoaded(FormData)?, Future<bool> onActionSuccess(FormAction)?, Future<bool> onError(dynamic)?})
Creates a ActiveGridForm.
const

Properties

contentPadding EdgeInsets?
Padding of the Items in the Form. If no Padding is provided a EdgeInsets.all(8.0) will be used.
final
formId String
Id of the Form to display
final
hashCode int
The hash code for this object.
no setterinherited
hideTitle bool
Flag to hide the form title, default is false
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onActionSuccess → (Future<bool> Function(FormAction)?)
Callback after FormAction completes Successfully
final
onError → (Future<bool> Function(dynamic)?)
Callback if an Error occurs
final
onFormLoaded → (void Function(FormData)?)
Callback after FormData loads successfully
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
titlePadding EdgeInsets?
Padding for the title. If no Padding is provided the contentPadding is used
final
titleStyle TextStyle?
Style for the Form Title. If no style is provided headline5 of the TextTheme will be used
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → _ActiveGridFormState
Creates the mutable state for this widget at a given location in the tree.
override
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
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}) 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