SlidingSheetFeed class Null safety

Creates a singular feed within a sliding sheet

Inheritance

Constructors

SlidingSheetFeed({Key? key, required FeedLoader loader, FeedController? controller, double? footerHeight, int? lengthFactor, int? initialLength, FeedBuilder? childBuilder, bool initiallyLoad = true, bool? disableScroll, Widget placeholder(BuildContext context, double extent)?, Widget? loading, RetrievalFunction? getItemID, WidgetWrapper? wrapper, List? pinnedItems, PerceiveSlidableController? sheetController, bool staticSheet = false, Color? backgroundColor, Color? minBackdropColor, double initialExtent = 0.4, double expandedExtent = 1.0, double minExtent = 0.0, Widget headerBuilder(BuildContext context, dynamic pageObj, Widget spacer, double borderRadius)?, Widget footerBuilder(BuildContext context, SheetState, dynamic pageObject)?, dynamic extentListener(double extent)?, bool isBackgroundIntractable = false, bool closeOnBackdropTap = true, bool doesPop = true, double staticScrollModifier = 0.0})
const

Properties

backgroundColor Color?
The background color for the sliding sheet
final
childBuilder FeedBuilder?
final
closeOnBackdropTap bool
final
controller FeedController?
final
disableScroll bool?
Disables the scroll controller when set to true
final
doesPop bool
final
expandedExtent double
The max extent of the sliding sheet
final
extentListener → (dynamic Function(double extent)?)
Listeners
final
footerBuilder → (Widget Function(BuildContext context, SheetState, dynamic pageObject)?)
The persistent footer on the sliding sheet
final
footerHeight double?
final
getItemID RetrievalFunction?
Retrieves the item id, used to ensure the prevention of duplicate additions
final
hashCode int
The hash code for this object.
read-onlyinherited
headerBuilder → (Widget Function(BuildContext context, dynamic pageObj, Widget spacer, double borderRadius)?)
The header for the initial delegate
final
initialExtent double
Starting extent, and the middle resting extent of the sliding sheet
final
initialLength int?
final
initiallyLoad bool
Determines if the the feed should initially load, defaulted to true
final
isBackgroundIntractable bool
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
lengthFactor int?
final
loader FeedLoader
final
loading Widget?
Loading widget
final
minBackdropColor Color?
The color behind the sliding sheet
final
minExtent double
The lowest possible extent for the sliding sheet
final
pinnedItems List?
Items that will be pinned to the top of the list on init
final
placeholder → (Widget Function(BuildContext context, double extent)?)
Loading state placeholders
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
sheetController PerceiveSlidableController?
Controller for the sheet
final
staticScrollModifier double
final
staticSheet bool
If the sheet should be static or not
final
wrapper WidgetWrapper?
The optional function used to wrap the list view
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 non-existent 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