From 17c289531d3678137d8dc2cc2c2d702fffafc16e Mon Sep 17 00:00:00 2001 From: jslavitz Date: Fri, 5 Oct 2018 13:43:53 -0700 Subject: [PATCH] Updated InputDecorator Comment (#22689) * updated comment --- packages/flutter/lib/src/material/input_decorator.dart | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/flutter/lib/src/material/input_decorator.dart b/packages/flutter/lib/src/material/input_decorator.dart index a923f782ac..3bebf6d73d 100644 --- a/packages/flutter/lib/src/material/input_decorator.dart +++ b/packages/flutter/lib/src/material/input_decorator.dart @@ -2362,6 +2362,12 @@ class InputDecoration { /// The shape of the border to draw around the decoration's container. /// + /// This border's [InputBorder.borderSide], i.e. the border's color and width, + /// will be overridden to reflect the input decorator's state. Only the + /// border's shape is used. If custom [BorderSide] values are desired for + /// a given state, all four borders – [errorBorder], [focusedBorder], + /// [enabledBorder], [disabledBorder] – must be set. + /// /// The decoration's container is the area which is filled if [isFilled] is /// true and bordered per the [border]. It's the area adjacent to /// [InputDecoration.icon] and above the widgets that contain