BrnGallerySummaryPage class

查看大图交互模式-列表页:组件提供了(列表页<-->详情页)这种交互模式的骨架. 适用于查看图片,视频 PDF 等场景。 默认只实现了图片的查看,如果想要扩展视频或者 pdf 自行扩展配置接口可实现。

Inheritance
Available Extensions

Constructors

BrnGallerySummaryPage({required List<BrnBasicGroupConfig> allConfig, int rowCount = 4, bool fromDetail = false, Widget detailRightAction(int? groupId, int? indexId)?, BrnGalleryController? controller})

Properties

allConfig List<BrnBasicGroupConfig>
显示的所有配置信息
final
controller BrnGalleryController?
控制图片查看刷新
final
detailRightAction → (Widget Function(int? groupId, int? indexId)?)
图片详情页右上角自定义设置按钮,若为空,则展示 "全部图片"
final
fromDetail bool
是否从详情页跳转,一般情况不使用
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
rowCount int
每一行的数量
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → _BrnGallerySummaryPageState
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