From 6dba5d5bff72127218d250a25a315064f4f7eb3b Mon Sep 17 00:00:00 2001 From: MimiKhan Date: Thu, 24 Aug 2023 12:22:50 +0500 Subject: [PATCH 1/2] Update flutter_datetime_picker.dart Have to hide DateThemePicker from material.dart file as it conflicts with DateThemePicker from the package. --- lib/flutter_datetime_picker.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/flutter_datetime_picker.dart b/lib/flutter_datetime_picker.dart index dba6b566..a4305031 100644 --- a/lib/flutter_datetime_picker.dart +++ b/lib/flutter_datetime_picker.dart @@ -2,7 +2,7 @@ library flutter_datetime_picker; import 'dart:async'; import 'package:flutter/cupertino.dart'; -import 'package:flutter/material.dart'; +import 'package:flutter/material.dart' hide DatePickerTheme; import 'package:flutter/painting.dart'; import 'package:flutter_datetime_picker/src/datetime_picker_theme.dart'; import 'package:flutter_datetime_picker/src/date_model.dart'; From 64bb89aab0e5d6f8ea37c016d73a414fdcd45cb3 Mon Sep 17 00:00:00 2001 From: MimiKhan Date: Thu, 24 Aug 2023 12:23:26 +0500 Subject: [PATCH 2/2] Revert "Update flutter_datetime_picker.dart" --- lib/flutter_datetime_picker.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/flutter_datetime_picker.dart b/lib/flutter_datetime_picker.dart index a4305031..dba6b566 100644 --- a/lib/flutter_datetime_picker.dart +++ b/lib/flutter_datetime_picker.dart @@ -2,7 +2,7 @@ library flutter_datetime_picker; import 'dart:async'; import 'package:flutter/cupertino.dart'; -import 'package:flutter/material.dart' hide DatePickerTheme; +import 'package:flutter/material.dart'; import 'package:flutter/painting.dart'; import 'package:flutter_datetime_picker/src/datetime_picker_theme.dart'; import 'package:flutter_datetime_picker/src/date_model.dart';