From dbef5fe486021ee5dabbcabd4f274b51d971ace6 Mon Sep 17 00:00:00 2001 From: Gaspard Merten Date: Wed, 25 Nov 2020 09:54:50 +0100 Subject: [PATCH] Version 0.3.3 --- CHANGELOG.md | 9 ++++++++- example/example.png | Bin 16323 -> 0 bytes lib/date_field.dart | 6 ------ pubspec.lock | 12 ++++++------ pubspec.yaml | 6 ++++-- 5 files changed, 18 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 14f6e86..02e9490 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -53,4 +53,11 @@ Improvements: ##0.3.2 -* Formating with dartfm \ No newline at end of file +* Formating with dartfm + +##0.3.3 + +* Intl => any support + +Breaking change: +* Removing the label property, please consider using the InputDecoration to customize the label. \ No newline at end of file diff --git a/example/example.png b/example/example.png index 88d633c043052f2ff517ad7cabc2a90e40f81b77..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 GIT binary patch literal 0 HcmV?d00001 literal 16323 zcmeHuc|4SF-}Wf|(83^v?4pnmA`B&wJ!L6tNOl_gSSw-_rbWn_U4+QK7Q+xfdO%+8{UMt%SyrHzdqIm^{Dj*!$H9rLJX&zj^KT~4 zrj_6PSu~RomoXV-biPGlf7dqswZ2-MW67O<&k?__H`a-7IJ~EmSGT5;3<8hCS2RzOPr@TNo;VPsf4=HZon2&S$$(QFt=yka z-)jT*XQSvf<+mnmXVRm!_BR6dqoXghiNUE$x3f5fl_-s~ zcq*`5R(X`=!f6xN7Rhp7^1IALwfyRJ!&r}g+pa;^wgmm#=1&IA%*R5{^wRP&Dr<&U)qaxL#Q^+`|KTg}7`MoANNu87&RzpWaaOpi8gTC|R}%}`zW zCa!I05z5zTXrKFx2(hCRV%H{Qy<=Jwyoz?E;KdUrzB6Uv?(OP zr|}Y98sd|#HQTc}Q*E##)A1X_J|ZF}0TAoiM&6CVr<`J@%qc$BQi6rdn z&B_t76NhI=!2Zt23?X3G(tD*vD#xhiJpaQG4sRR7`){n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?4{9_hVX!oO}UKK>-i#<<-wgbiLE^=O}-97d!Os1%7;K71R{ZBey z>=%5@AiTB!IqfL{p08QN5ZK6p&_sVvou(%8US>XjAP5f7>Z`ytX*dKkI$?=Jx(Jo2itW{P7T2 PT9oQFEu}ogyN~}D{guEz diff --git a/lib/date_field.dart b/lib/date_field.dart index 37216d6..8c81322 100644 --- a/lib/date_field.dart +++ b/lib/date_field.dart @@ -238,7 +238,6 @@ class DateTimeField extends StatelessWidget { return _InputDropdown( text: text ?? label, - label: text == null ? null : label, errorText: errorText, textStyle: textStyle, decoration: decoration, @@ -287,7 +286,6 @@ class _InputDropdown extends StatelessWidget { const _InputDropdown({ Key key, @required this.text, - this.label, this.decoration, this.textStyle, this.onPressed, @@ -295,9 +293,6 @@ class _InputDropdown extends StatelessWidget { }) : assert(text != null), super(key: key); - /// The label to display for the field (default is 'Select date') - final String label; - /// The text that should be displayed inside the field final String text; @@ -324,7 +319,6 @@ class _InputDropdown extends StatelessWidget { final InputDecoration effectiveDecoration = decoration?.copyWith(errorText: errorText) ?? InputDecoration( - labelText: label, errorText: errorText, suffixIcon: const Icon(Icons.arrow_drop_down), ).applyDefaults(Theme.of(context).inputDecorationTheme); diff --git a/pubspec.lock b/pubspec.lock index f075105..6bfcd5a 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -7,14 +7,14 @@ packages: name: characters url: "https://pub.dartlang.org" source: hosted - version: "1.0.0" + version: "1.1.0-nullsafety.5" collection: dependency: transitive description: name: collection url: "https://pub.dartlang.org" source: hosted - version: "1.14.13" + version: "1.15.0-nullsafety.5" flutter: dependency: "direct main" description: flutter @@ -33,7 +33,7 @@ packages: name: meta url: "https://pub.dartlang.org" source: hosted - version: "1.1.8" + version: "1.3.0-nullsafety.6" path: dependency: transitive description: @@ -52,13 +52,13 @@ packages: name: typed_data url: "https://pub.dartlang.org" source: hosted - version: "1.2.0" + version: "1.3.0-nullsafety.5" vector_math: dependency: transitive description: name: vector_math url: "https://pub.dartlang.org" source: hosted - version: "2.0.8" + version: "2.1.0-nullsafety.5" sdks: - dart: ">=2.9.0-14.0.dev <3.0.0" + dart: ">=2.12.0-0 <3.0.0" diff --git a/pubspec.yaml b/pubspec.yaml index 6ff3115..3fa9eed 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,12 +1,14 @@ name: date_field description: Contains DateField and DateFormField which allows the user to pick a DateTime from an input field! -version: 0.3.2 +version: 0.3.3 homepage: 'https://github.com/GaspardMerten/date_field' environment: sdk: ">=2.1.0 <3.0.0" dependencies: - intl: ^0.16.1 flutter: sdk: flutter + + intl: ">=0.2.7 <2.0.0" +