Skip to content

Commit 6b9f1c2

Browse files
authored
Minor documentation fix on BorderRadiusDirectional.zero (#117661)
1 parent fdc25a1 commit 6b9f1c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/flutter/lib/src/painting/border_radius.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ class BorderRadiusDirectional extends BorderRadiusGeometry {
590590

591591
/// A border radius with all zero radii.
592592
///
593-
/// Consider using [EdgeInsets.zero] instead, since that object has the same
593+
/// Consider using [BorderRadius.zero] instead, since that object has the same
594594
/// effect, but will be cheaper to [resolve].
595595
static const BorderRadiusDirectional zero = BorderRadiusDirectional.all(Radius.zero);
596596

0 commit comments

Comments
 (0)