Enhance UI button and order card features

Added fullWidth support to UiButton and updated usages to ensure buttons span container width. Improved ViewOrderCard with expanded worker details, avatar stack, formatted date/time, and an order edit bottom sheet. Introduced new icons and typography style in the design system.
This commit is contained in:
Achintha Isuru
2026-01-23 11:53:36 -05:00
parent 960b21ec8c
commit 868688fb02
7 changed files with 543 additions and 100 deletions

View File

@@ -97,6 +97,7 @@ class ClientGetStartedPage extends StatelessWidget {
.get_started_page
.sign_in_button,
onPressed: () => Modular.to.pushClientSignIn(),
fullWidth: true,
),
const SizedBox(height: UiConstants.space3),
@@ -108,6 +109,7 @@ class ClientGetStartedPage extends StatelessWidget {
.get_started_page
.create_account_button,
onPressed: () => Modular.to.pushClientSignUp(),
fullWidth: true,
),
],
),

View File

@@ -96,6 +96,7 @@ class _ClientSignInFormState extends State<ClientSignInForm> {
UiButton.primary(
text: widget.isLoading ? null : i18n.sign_in_button,
onPressed: widget.isLoading ? null : _handleSubmit,
fullWidth: true,
child: widget.isLoading
? const SizedBox(
height: 24,