INNER CODE UNIT · Dart
_MultipliedTextScaler
hacan359/tonkatsu_box · lib/app.dart:126
class _MultipliedTextScaler extends TextScaler {
const _MultipliedTextScaler(this._system, this._factor);
final TextScaler _system;
final double _factor;
@override
double scale(double fontSize) => _system.scale(fontSize) * _factor;
// Abstract in TextScaler, so it has to be implemented despite the deprecation.
@override
// ignore: deprecated_member_use
double get textScaleFactor => _system.textScaleFactor * _factor;
@override
bool operator ==(Object other) =>
other is _MultipliedTextScaler &&
other._system == _system &&