BoxBorder

abstract class

- Border extends BoxBorder
- BorderDirectional extends BoxBorder

1. Border

Border({this.top = BorderSide.none, this.right = BorderSide.none, this.bottom = BorderSide.none, this.left = BorderSide.none, })
Border.fromBorderSide(BorderSide side)
Border.all({ Color color = const Color(0xFF000000), double width = 1.0, BorderStyle style = BorderStyle.solid,})
static Border merge(Border a, Border b)
static Border lerp(Border a, Border b, double t)
  • top: BorderSide
  • right: BorderSide
  • bottom: BorderSide
  • left: BorderSide

2. BorderDirectional

BorderDirectional({this.top = BorderSide.none,  this.start = BorderSide.none, this.end = BorderSide.none, this.bottom = BorderSide.none,})
static BorderDirectional merge(BorderDirectional a, BorderDirectional b)
static BorderDirectional merge(BorderDirectional a, BorderDirectional b)
static BorderDirectional lerp(BorderDirectional a, BorderDirectional b, double t)
  • top: BorderSide
  • start: BorderSide
  • bottom: BorderSide
  • end: BorderSide

你可能感兴趣的:(BoxBorder)