withColorAndOpacity method
- ColorDescriptor descriptor,
- double opacity
Implementation
TextStyle withColorAndOpacity(ColorDescriptor descriptor, double opacity) =>
copyWith(color: descriptor.color.withOpacity(opacity));
TextStyle withColorAndOpacity(ColorDescriptor descriptor, double opacity) =>
copyWith(color: descriptor.color.withOpacity(opacity));