getBorder static method
Implementation
static BorderSide getBorder(ButtonType type, ButtonState state) {
if (type == ButtonType.primary) {
return BorderSide(color: getBackgroundColor(type, state), width: 1);
} else {
return BorderSide(color: Colors.grey.shade400, width: 1);
}
}