logo
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
use crate::painting::BorderSide;

// paint(Canvas canvas, Rect rect, {double? gapStart, double gapExtent = 0.0, double gapPercentage = 0.0, TextDirection? textDirection}) -> void
// Paint this input border on canvas.

pub struct InputBorder {
    pub border_side: BorderSide,
}

impl InputBorder {
    pub const NONE: InputBorder = InputBorder {
        border_side: BorderSide::NONE,
    };
}

impl Default for InputBorder {
    fn default() -> Self {
        Self {
            border_side: Default::default(),
        }
    }
}