Removing unused variables, improving description
This commit is contained in:
parent
525e980e20
commit
cee1bb3f82
4 changed files with 9 additions and 10 deletions
|
@ -82,3 +82,8 @@ Breaking change:
|
|||
##1.0.4
|
||||
|
||||
* Fixing critical issue
|
||||
|
||||
##1.0.5
|
||||
|
||||
* Removing unused variables
|
||||
* Improving description
|
||||
|
|
|
@ -56,7 +56,7 @@ packages:
|
|||
path: ".."
|
||||
relative: true
|
||||
source: path
|
||||
version: "0.3.3"
|
||||
version: "1.0.4"
|
||||
fake_async:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
|
@ -301,15 +301,9 @@ class _InputDropdown extends StatelessWidget {
|
|||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
BorderRadius inkwellBorderRadius;
|
||||
|
||||
if (decoration?.border?.runtimeType == OutlineInputBorder) {
|
||||
inkwellBorderRadius = BorderRadius.circular(8);
|
||||
}
|
||||
|
||||
final InputDecoration effectiveDecoration = decoration ??
|
||||
const InputDecoration(
|
||||
suffixIcon: const Icon(Icons.arrow_drop_down),
|
||||
suffixIcon: Icon(Icons.arrow_drop_down),
|
||||
).applyDefaults(Theme.of(context).inputDecorationTheme);
|
||||
|
||||
return GestureDetector(
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
name: date_field
|
||||
description: A widget in the form of a field that lets people enter choose a date/time/date and time via a date/time picker dialog. You can specify a custom input decoration, a custom date display. Uses DateTime.
|
||||
version: 1.0.4
|
||||
description: A widget in the form of a field that lets people choose a date, a time or both.
|
||||
version: 1.0.5
|
||||
homepage: 'https://github.com/GaspardMerten/date_field'
|
||||
|
||||
environment:
|
||||
|
|
Loading…
Reference in a new issue