decoration property

dynamic get decoration

边框

Implementation

static get decoration => BoxDecoration(
    color: FlatStyles.backgroundColor,
    border: Border(
      left: BorderSide(width: 1.0, color: FlatStyles.frameColor),
      top: BorderSide(width: 1.0, color: FlatStyles.frameColor),
      right: BorderSide(width: 1.0, color: FlatStyles.frameColor),
      bottom: BorderSide(width: 1.0, color: FlatStyles.frameColor),
    ));