update files to null seafty

design_3.0_latest
muhammad.abbasi 1 year ago
parent 1ce6f0f72c
commit bbcf093af3

@ -56,8 +56,8 @@ class _RequestDetailViewState extends State<RequestDetailView> {
final GlobalKey _detailsCardKey = GlobalKey();
void createBreakPoint() {
final RenderBox detailContainerBox = _detailsCardKey.currentContext?.findRenderObject() as RenderBox;
final detailContainerHeight = detailContainerBox?.size?.height;
// final RenderBox detailContainerBox = _detailsCardKey.currentContext?.findRenderObject() as RenderBox;
// final detailContainerHeight = detailContainerBox?.size?.height;
}
@override

@ -16,7 +16,7 @@ class ADatePicker extends StatelessWidget {
final Function(DateTime)? onDatePicker; // Nullable
final bool enable;
final bool withBorder;
final bool ?withIcon;
final bool withIcon;
final Color? backgroundColor; // Nullable
final bool formatDateWithTime;
final double? height; // Nullable
@ -30,7 +30,7 @@ class ADatePicker extends StatelessWidget {
this.hideShadow = false,
this.hint,
this.date,
this.withIcon = false,
this.withIcon = true,
this.formatDateWithTime = false,
this.onDatePicker,
this.from,
@ -71,8 +71,7 @@ class ADatePicker extends StatelessWidget {
],
).expanded,
enable ? 16.width : const Spacer(),
"calender".toSvgAsset(width: 20, color: context.isDark ? AppColor.neutral10 : null),
withIcon ? "calender".toSvgAsset(width: 20, color: context.isDark ? AppColor.neutral10 : null) : const SizedBox(),
],
),
).onPress(enable

Loading…
Cancel
Save