RCKLeadingConfig class

左侧区域配置

Constructors

RCKLeadingConfig.new({Widget? icon, String? text, TextStyle? textStyle = const TextStyle(fontSize: 16, fontWeight: FontWeight.normal, color: Colors.black), double spacing = 4.0, EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 16.0)})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
icon Widget?
图标
final
padding EdgeInsets
内边距
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spacing double
图标与文本间距
final
text String?
文本
final
textStyle TextStyle?
文本样式
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited