SmartBorder constructor
SmartBorder({
- SmartBorderWidth width = SmartBorderWidth.thin,
- Color color = Colors.black,
Implementation
SmartBorder({SmartBorderWidth width = SmartBorderWidth.thin, Color color = Colors.black})
: border = width == SmartBorderWidth.none ? Border.all() : Border.all(width: width.value, color: color);