mirror of
https://github.com/Iconica-Development/flutter_date_time_picker.git
synced 2025-05-18 18:33:49 +02:00
type fix
This commit is contained in:
parent
92b7afce0e
commit
7a3c66d28c
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ class _DateTimePickerState extends State<DateTimePicker> {
|
|||
|
||||
bool useTimeFormatBasedOnLocale() {
|
||||
// Get LocaleName of current platform and split language- and countryCode in 2 List values.
|
||||
var deviceLocale = Platform.localeName.split('_');
|
||||
List<String> deviceLocale = Platform.localeName.split('_');
|
||||
|
||||
// Make LocaleName of current platform in a Locale Object
|
||||
Locale defaultLocale = Locale.fromSubtags(
|
||||
|
|
Loading…
Reference in a new issue