Calculates the scale to apply based on the intrinsic widget size.
@override double transform(Size size, double scale) => scale;