AssetPickerAppBar class

A custom app bar. 自定义的顶栏

Inheritance
Implemented types

Constructors

AssetPickerAppBar({Key? key, bool automaticallyImplyLeading = true, bool automaticallyImplyActions = true, Brightness? brightness, Widget? title, Widget? leading, PreferredSizeWidget? bottom, bool centerTitle = true, Color? backgroundColor, double elevation = 0, List<Widget>? actions, EdgeInsetsGeometry? actionsPadding, double? height, double blurRadius = 0, IconThemeData? iconTheme, Semantics semanticsBuilder(Widget appBar)?})
const

Properties

actions List<Widget>?
Action widgets. 尾部操作部件
final
actionsPadding EdgeInsetsGeometry?
Padding for actions. 尾部操作部分的内边距
final
automaticallyImplyActions bool
Whether it should imply actions size with effectiveHeight. 是否会自动使用 effectiveHeight 进行占位
final
automaticallyImplyLeading bool
Whether it should imply leading with BackButton automatically. 是否会自动检测并添加返回按钮至头部
final
backgroundColor Color?
Background color. 背景颜色
final
blurRadius double
The blur radius applies on the bar. 顶栏的高斯模糊值
final
bottom PreferredSizeWidget?
This widget appears across the bottom of the app bar. 显示在顶栏下方的 widget
final
brightness Brightness?
Set the brightness for the status bar's layer. 设置状态栏亮度层
final
centerTitle bool
Whether the title should be at the center. title 是否会在正中间
final
effectiveHeight double
no setter
elevation double
Elevation to Material. 设置在 Material 的阴影
final
hashCode int
The hash code for this object.
no setterinherited
height double?
Height of the app bar. 高度
final
iconTheme IconThemeData?
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
leading Widget?
Leading widget. 头部部件
final
preferredSize Size
The size this widget would prefer if it were otherwise unconstrained.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
semanticsBuilder → (Semantics Function(Widget appBar)?)
final
title Widget?
Title widget. Typically a Text widget. 标题部件
final

Methods

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