update shipment list and editor

This commit is contained in:
tzw
2024-01-30 17:24:28 +06:30
parent c9680ca3ca
commit a944357490
8 changed files with 152 additions and 156 deletions

View File

@@ -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);
}
},