CaseStyle class

操作壳样式

Constructors

CaseStyle({Color borderColor = Colors.white, double borderWidth = 1, Color? iconColor, double iconSize = 24, double? boxAspectRatio, Offset initOffset = Offset.zero})
const

Properties

borderColor Color
边框(包括操作手柄)颜色
final
borderWidth double
边框粗细
final
boxAspectRatio double?
  • 边框比例
  • if(boxAspectRatio!=null) 缩放变换将固定比例
  • final
    hashCode int
    The hash code for this object.
    no setterinherited
    iconColor Color?
    图标颜色
    final
    iconSize double
    图标大小
    final
    initOffset Offset
    外框初始位置
    final
    runtimeType Type
    A representation of the runtime type of the object.
    no setterinherited

    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