File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed
Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -181,8 +181,8 @@ packages:
181181 dependency: transitive
182182 description:
183183 path: "packages/lw_file_system_api"
184- ref: "3f886507656f057d89a8b98de6ddbc7f5a21868e"
185- resolved-ref: "3f886507656f057d89a8b98de6ddbc7f5a21868e"
184+ ref: ddd0761c3ed5a48108bddd0448df76d77eeb9da0
185+ resolved-ref: ddd0761c3ed5a48108bddd0448df76d77eeb9da0
186186 url: "https://github.com/LinwoodDev/dart_pkgs.git"
187187 source: git
188188 version: "1.0.0"
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ class DateTimeField extends StatefulWidget {
1212 final ValueChanged <DateTime ?> onChanged;
1313 final bool filled;
1414 final bool showTime;
15- final bool showIcon;
1615
1716 const DateTimeField ({
1817 super .key,
@@ -21,9 +20,8 @@ class DateTimeField extends StatefulWidget {
2120 required this .onChanged,
2221 this .canBeEmpty = false ,
2322 this .icon,
24- this .filled = false ,
23+ this .filled = true ,
2524 this .showTime = true ,
26- this .showIcon = true ,
2725 });
2826
2927 @override
@@ -108,11 +106,9 @@ class _DateTimeFieldState extends State<DateTimeField> {
108106 onEditingComplete: _onChanged,
109107 decoration: InputDecoration (
110108 labelText: widget.label,
111- icon: widget.showIcon
112- ? (widget.icon ?? const PhosphorIcon (PhosphorIconsLight .calendar))
113- : null ,
109+ icon: widget.icon,
114110 filled: widget.filled,
115- suffix : Row (
111+ suffixIcon : Row (
116112 mainAxisSize: MainAxisSize .min,
117113 children: [
118114 IconButton (
You can’t perform that action at this time.
0 commit comments