withColor method
Returns MathOptions with given text color
Implementation
MathOptions withColor(Color color) {
if (this.color == color) return this;
return this.copyWith(color: color);
}
Returns MathOptions with given text color
MathOptions withColor(Color color) {
if (this.color == color) return this;
return this.copyWith(color: color);
}