feat: enhance kill house - submit request module with submit request functionality, including new models, repository updates, and UI integration
This commit is contained in:
@@ -9,15 +9,15 @@ extension ColorUtils on Color {
|
||||
return hslDarkerColor.toColor();
|
||||
}
|
||||
|
||||
get disabledColor{
|
||||
Color get disabledColor{
|
||||
return withAlpha(38);
|
||||
}
|
||||
|
||||
get hoverColor{
|
||||
Color get hoverColor{
|
||||
return _darken(0.5);
|
||||
}
|
||||
|
||||
get pressedColor{
|
||||
Color get pressedColor{
|
||||
return _darken(0.10);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,13 +1,15 @@
|
||||
import 'package:intl/intl.dart';
|
||||
|
||||
extension XDataTime on DateTime {
|
||||
String get formattedGregorianDate {
|
||||
|
||||
return "$year/${month.toString().padLeft(2, '0')}/${day.toString().padLeft(2, '0')}";
|
||||
}
|
||||
|
||||
String get formattedDashedGregorian {
|
||||
|
||||
return "$year-${month.toString().padLeft(2, '0')}-${day.toString().padLeft(2, '0')}";
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
String get formattedGregorianDateWithoutMillisecond {
|
||||
return DateFormat('yyyy-MM-dd HH:mm:ss').format(this).toString();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user