BoxBorder

作者: 翱翔的土豆 | 来源:发表于2020-02-05 16:22 被阅读0次

    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)
    

    相关文章

      网友评论

          本文标题:BoxBorder

          本文链接:https://www.haomeiwen.com/subject/gsmsxhtx.html