Commit b25ec17
authored
Fix DateRangePickerDialog does not inherit local InputDecorationTheme (flutter#177086)
## Description
This PR replaces global `ThemeData.inputDecorationTheme` usage in
`DateRangePickerDialog` with `InputDecorationTheme.of ` which returns
the ambient `InputDecorationTheme`.
It is a follow up to flutter#168981
which introduces `InputDecorationTheme.of `.
## Related Issue
Fixes [DateRangePickerDialog does not inherit local
InputDecorationTheme](flutter#177083)
## Tests
- Adds 1 test1 parent 83382d1 commit b25ec17
File tree
2 files changed
+26
-1
lines changed- packages/flutter
- lib/src/material
- test/material
2 files changed
+26
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3436 | 3436 | | |
3437 | 3437 | | |
3438 | 3438 | | |
3439 | | - | |
| 3439 | + | |
3440 | 3440 | | |
3441 | 3441 | | |
3442 | 3442 | | |
| |||
Lines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1980 | 1980 | | |
1981 | 1981 | | |
1982 | 1982 | | |
| 1983 | + | |
| 1984 | + | |
| 1985 | + | |
| 1986 | + | |
| 1987 | + | |
| 1988 | + | |
| 1989 | + | |
| 1990 | + | |
| 1991 | + | |
| 1992 | + | |
| 1993 | + | |
| 1994 | + | |
| 1995 | + | |
| 1996 | + | |
| 1997 | + | |
| 1998 | + | |
| 1999 | + | |
| 2000 | + | |
| 2001 | + | |
| 2002 | + | |
| 2003 | + | |
| 2004 | + | |
| 2005 | + | |
| 2006 | + | |
| 2007 | + | |
1983 | 2008 | | |
1984 | 2009 | | |
1985 | 2010 | | |
| |||
0 commit comments