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:
@@ -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,
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user