Skip to content

Commit 450ebfc

Browse files
committed
[flame_svg] Updated doc comment for the Svg.fixedRatio property.
1 parent affd954 commit 450ebfc

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎packages/flame_svg/lib/svg.dart‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ import 'package:flutter_svg/flutter_svg.dart';
1212
class Svg {
1313
/// Creates an [Svg] with the received [pictureInfo].
1414
/// Default [pixelRatio] is the device pixel ratio.
15-
/// Setting [fixedRatio] to `true` ensures the cache uses a single entry.
15+
/// Setting [fixedRatio] to `true` ensures the cache uses one entry
16+
/// per rendered size/scale.
1617
/// Default [cacheSize] is [defaultCacheSize], which is 10 as previously;
1718
/// specifying [unlimitedCacheSize] is the same as using a [Map] instead
1819
/// of a [MemoryCache].

0 commit comments

Comments
 (0)