buildBorder method
Implementation
Border buildBorder(TInputContext ctx, Color color) {
if (borderBuilder != null) {
return borderBuilder!(ctx, color);
}
return Border.all(color: color, width: ctx.isFocused ? 2.0 : 1.0);
}
Border buildBorder(TInputContext ctx, Color color) {
if (borderBuilder != null) {
return borderBuilder!(ctx, color);
}
return Border.all(color: color, width: ctx.isFocused ? 2.0 : 1.0);
}