update shipment list and editor
This commit is contained in:
@@ -53,8 +53,23 @@ class InputDate extends StatelessWidget {
|
||||
firstDate: DateTime(0),
|
||||
lastDate: DateTime(2025),
|
||||
initialDate: initialDate,
|
||||
builder: (context, child) {
|
||||
return Theme(
|
||||
data: Theme.of(context).copyWith(
|
||||
colorScheme: ColorScheme.light(
|
||||
background: primaryColor,
|
||||
surfaceTint: Colors.white,
|
||||
primary: primaryColor),
|
||||
textButtonTheme: TextButtonThemeData(
|
||||
style:
|
||||
TextButton.styleFrom(foregroundColor: primaryColor),
|
||||
),
|
||||
),
|
||||
child: child!,
|
||||
);
|
||||
},
|
||||
);
|
||||
if (d != null && controller.text != "") {
|
||||
if (d != null) {
|
||||
controller.text = dateFormatter.format(d);
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user