This commit is contained in:
parent
e2cb30eb90
commit
aa293e3b2e
|
|
@ -5,8 +5,6 @@ import 'package:table_calendar/table_calendar.dart';
|
|||
import 'package:intl/intl.dart';
|
||||
import '../../blocs/evaporasi_bloc.dart';
|
||||
|
||||
|
||||
|
||||
/// 📅 EVAPORASI DATE PICKER - WhatsApp Style
|
||||
class EvaporasiDatePicker extends StatefulWidget {
|
||||
const EvaporasiDatePicker({super.key});
|
||||
|
|
@ -109,11 +107,13 @@ class _EvaporasiDatePickerState extends State<EvaporasiDatePicker> {
|
|||
}
|
||||
},
|
||||
onPageChanged: (focusedDay) {
|
||||
_focusedDay = focusedDay;
|
||||
setState(() {
|
||||
_focusedDay = focusedDay;
|
||||
});
|
||||
},
|
||||
calendarStyle: CalendarStyle(
|
||||
// Default
|
||||
defaultDecoration: BoxDecoration(
|
||||
defaultDecoration: const BoxDecoration(
|
||||
color: Colors.transparent,
|
||||
shape: BoxShape.circle,
|
||||
),
|
||||
|
|
@ -127,7 +127,7 @@ class _EvaporasiDatePickerState extends State<EvaporasiDatePicker> {
|
|||
fontWeight: FontWeight.bold,
|
||||
),
|
||||
// Selected
|
||||
selectedDecoration: BoxDecoration(
|
||||
selectedDecoration: const BoxDecoration(
|
||||
color: Colors.blue,
|
||||
shape: BoxShape.circle,
|
||||
),
|
||||
|
|
|
|||
16
pubspec.lock
16
pubspec.lock
|
|
@ -695,6 +695,14 @@ packages:
|
|||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "0.27.7"
|
||||
simple_gesture_detector:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: simple_gesture_detector
|
||||
sha256: ba2cd5af24ff20a0b8d609cec3f40e5b0744d2a71804a2616ae086b9c19d19a3
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "0.2.1"
|
||||
sky_engine:
|
||||
dependency: transitive
|
||||
description: flutter
|
||||
|
|
@ -740,6 +748,14 @@ packages:
|
|||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "1.4.1"
|
||||
table_calendar:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: table_calendar
|
||||
sha256: "0c0c6219878b363a2d5f40c7afb159d845f253d061dc3c822aa0d5fe0f721982"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "3.2.0"
|
||||
term_glyph:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
|
|||
Loading…
Reference in New Issue