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)
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)
网友评论