TiltShadow class
阴影
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- TiltShadow
Constructors
- TiltShadow.new({Key? key, required Widget child, required double width, required double height, required Offset areaProgress, BoxBorder? border, BorderRadiusGeometry? borderRadius, required Clip clipBehavior, required LightConfig lightConfig, required ShadowConfig shadowConfig})
-
阴影
const
Properties
- areaProgress → Offset
-
当前坐标的区域进度
final
- baseOffset → Offset
-
阴影当前偏移距离
no setter
- blurRadius → double
-
阴影模糊半径
no setter
- blurRadiusProgress → double
-
阴影模糊半径进度
no setter
- border → BoxBorder?
-
Border
final
- borderRadius → BorderRadiusGeometry?
-
BorderRadius
final
- centerMaxProgress → double
-
距离中心的进度最大值
no setter
- centerProgress → double
-
距离中心的进度
no setter
- child → Widget
-
final
- clipBehavior → Clip
-
Clip
final
- enableReverse → bool
-
开启反向(受光源影响)
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double
-
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- lightConfig → LightConfig
-
光源配置
final
- offset → Offset
-
阴影偏移
no setter
- progress → Offset
-
当前坐标的区域进度
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shadowConfig → ShadowConfig
-
阴影配置
final
- shadowDisable → bool
-
禁用阴影
no setter
- showShadow → double
-
阴影显示(受光源影响)
no setter
- spreadRadius → double
-
阴影扩散半径
no setter
- spreadRadiusDistance → double
-
阴影扩散半径距离
no setter
- spreadRadiusRevert → double
-
阴影扩散半径距离还原
no setter
- width → double
-
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 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