I need to change the font size of CupertinoDatePicker so it looks more like native one. The font is small compared to ios datepicker.
For the height wrapping in a Container with height of MediaQuery.of(context).copyWith().size.height / 3
makes the height to be similar to native one.
相关问题
- Flutter : Prepare list data from http request
- How to schedule an alarm on specific time in Flutt
- MappedListIterable is not a SubType
- 'firebase_messaging/FirebaseMessagingPlugin.h&
- What is the difference between generics and dynami
相关文章
- Observatory server failed to start - Fails to crea
- Flutter error retrieving device properties for ro.
- Adding Shadows at the bottom of a container in flu
- Flutter. Check if a file exists before loading it
- Flutter - http.get fails on macos build target: Co
- Receive share file intents with Flutter
- Do stateless widgets dispose on their own?
- How to clean your build with Flutter RP2 in Androi
Another way to do this, is to wrap the
CupertinoDatePicker
inCupertinoTheme
.Finally got it, works as expected.