HorizontalScrollable class

Makes the child horizontally scrollable

Inheritance

Constructors

HorizontalScrollable({Key? key, TextEditingController? textEditingController, ScrollController? scrollController, ScrollPhysics physics = const ClampingScrollPhysics(), Widget? child, bool beScrollable = true, double horizontalScrollExtent = 2000, EdgeInsetsGeometry padding = EdgeInsets.zero, bool expand = false})
Makes the child horizontally scrollable
const

Properties

beScrollable bool
Scrolling horizontally would be only enabled if this value is true
final
child Widget?
final
expand bool
Wrap with Expanded widget
final
hashCode int
The hash code for this object.
no setterinherited
horizontalScrollExtent double
How much this widget should get horizontally scrolled. Defaults to 2000
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
padding EdgeInsetsGeometry
Scroll padding of the text field under this scrollable defaults to EdgeInsets.zero
final
physics ScrollPhysics
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollController ScrollController?
final
textEditingController TextEditingController?
In the future, this controller from a child TextField will be used to determine horizontal scroll extent.
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this 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
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