Skip to content

Commit ef7e4ff

Browse files
committed
[Readme] add note on textfield widget.
1 parent db34537 commit ef7e4ff

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,14 @@ it will default to cupertino theming:
120120

121121
[Source](/example/lib/switches_page.dart)
122122

123+
## Inputs
124+
125+
`TextField/CupertinoTextField` -> `PTextField`
126+
127+
![TextField](/screenshots/inputs.png)
128+
129+
By default, the `PTextField` on iOS will mirror Android styling and decoration (map `OutlineInputBorder` to a similar outline
130+
for iOS). Also `PTextField` on iOS will show `helperText` and `errorText` (even though not native iOS widget).
123131
## Bottom Navigation
124132

125133
`BottomNavigationBar`/`CupertinoTabBar` -> `PTabBar`

screenshots/inputs.png

82.6 KB
Loading

0 commit comments

Comments
 (0)