From ebd11970e217508c669bed7dbf47cc86f65cf780 Mon Sep 17 00:00:00 2001 From: Mikkel Nygaard Ravn Date: Fri, 29 Jun 2018 10:01:52 +0200 Subject: [PATCH] Fix typo (#18941) --- packages/flutter/lib/src/painting/edge_insets.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/flutter/lib/src/painting/edge_insets.dart b/packages/flutter/lib/src/painting/edge_insets.dart index 78cbc4103ba..edaf5f44478 100644 --- a/packages/flutter/lib/src/painting/edge_insets.dart +++ b/packages/flutter/lib/src/painting/edge_insets.dart @@ -44,10 +44,10 @@ abstract class EdgeInsetsGeometry { && _bottom >= 0.0; } - /// The total offset in the vertical direction. + /// The total offset in the horizontal direction. double get horizontal => _left + _right + _start + _end; - /// The total offset in the horizontal direction. + /// The total offset in the vertical direction. double get vertical => _top + _bottom; /// The total offset in the given direction.