FolderViewContent<T> class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- FolderViewContent
Constructors
-
FolderViewContent({Key? key, required ScrollController horizontalController, required ScrollController horizontalBarController, required ScrollController verticalController, required ScrollController verticalBarController, required bool needsVerticalScroll, required bool needsHorizontalScroll, required double contentWidth, required double contentHeight, required double viewportWidth, required double viewportHeight, required List<
FlatNode< flatNodes, required ViewMode mode, required dynamic onNodeTap(Node<T> >T> )?, dynamic onDoubleNodeTap(Node<T> )?, dynamic onSecondaryNodeTap(Node<T> , TapDownDetails)?, required Set<String> ? selectedNodeIds, Set<String> ? expandedNodeIds, Widget? rowTooltipBuilder(BuildContext context, Node<T> node)?, RowTooltipTheme? rowTooltipTheme, required FlutterFolderViewTheme<T> theme, double scale = 1.0, bool blockModifierScroll = true, FlattenChange? change}) -
const
Properties
- blockModifierScroll → bool
-
When
true, normal scrolling is blocked while Ctrl/Cmd is held.final - change → FlattenChange?
-
Incremental single-node change from the Flattener, or null for a full
rebuild / no change. Drives the scroll anchor.
final
- contentHeight → double
-
final
- contentWidth → double
-
final
-
expandedNodeIds
→ Set<
String> ? -
final
-
flatNodes
→ List<
FlatNode< T> > -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- horizontalBarController → ScrollController
-
final
- horizontalController → ScrollController
-
Scroll controllers
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- mode → ViewMode
-
final
- needsHorizontalScroll → bool
-
final
- needsVerticalScroll → bool
-
Scroll flags
final
-
onDoubleNodeTap
→ dynamic Function(Node<
T> )? -
final
-
onNodeTap
→ dynamic Function(Node<
T> )? -
final
-
onSecondaryNodeTap
→ dynamic Function(Node<
T> , TapDownDetails)? -
final
-
rowTooltipBuilder
→ Widget? Function(BuildContext context, Node<
T> node)? -
Builds the row card. See
FolderView.rowTooltipBuilder.final - rowTooltipTheme → RowTooltipTheme?
-
Styles the row card. See
FolderView.rowTooltipTheme.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scale → double
-
Scale factor applied to content dimensions.
final
-
selectedNodeIds
→ Set<
String> ? -
final
-
theme
→ FlutterFolderViewTheme<
T> -
final
- verticalBarController → ScrollController
-
final
- verticalController → ScrollController
-
final
- viewportHeight → double
-
final
- viewportWidth → double
-
The width and height of the list's viewport in the layout this widget is
built for: the view's width, and its height above the horizontal
scrollbar's track when there is one.
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< FolderViewContent< T> > -
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, 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