Fix InputDecorator.isDense typo from true -> false (#46648)

This commit is contained in:
Shi-Hao Hong 2019-12-10 13:24:44 -05:00 committed by GitHub
parent 645c32311e
commit ac9fefdfa6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2406,7 +2406,7 @@ class InputDecoration {
/// decorate a Material Design text field. /// decorate a Material Design text field.
/// ///
/// Unless specified by [ThemeData.inputDecorationTheme], /// Unless specified by [ThemeData.inputDecorationTheme],
/// [InputDecorator] defaults [isDense] to true, and [filled] to false, /// [InputDecorator] defaults [isDense] to false, and [filled] to false,
/// and [maxLines] to 1. The default border is an instance /// and [maxLines] to 1. The default border is an instance
/// of [UnderlineInputBorder]. If [border] is [InputBorder.none] then /// of [UnderlineInputBorder]. If [border] is [InputBorder.none] then
/// no border is drawn. /// no border is drawn.