Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Add 'shouldUseTextInputWidget' parameter to FormTextInputWidget and update related pages; integrate hugeicons dependency

AmanRajSinghMourya62baff6d1f5e
diff --git a/mobile/apps/locker/lib/ui/components/form_text_input_widget.dart b/mobile/apps/locker/lib/ui/components/form_text_input_widget.dart
index 344ed43079..aa51d1293e 100644
--- a/mobile/apps/locker/lib/ui/components/form_text_input_widget.dart
+++ b/mobile/apps/locker/lib/ui/components/form_text_input_widget.dart
@@ -19,6 +19,7 @@ class FormTextInputWidget extends StatefulWidget {
final bool autofocus;
final int? maxLength;
final bool showValidationErrors;
+ final bool shouldUseTextInputWidget;
const FormTextInputWidget({
super.key,
@@ -35,6 +36,7 @@ class FormTextInputWidget extends StatefulWidget {
this.autofocus = false,
this.maxLength,
this.showValidationErrors = false,
+ this.shouldUseTextInputWidget = true,
});
@override
@@ -73,7 +75,8 @@ class _FormTextInputWidgetState extends State<FormTextInputWidget> {
bool get _canUseTextInputWidget {
return widget.suffixIcon == null &&
(widget.maxLines ?? 1) == 1 &&
- widget.enabled;
+ widget.enabled &&
+ widget.shouldUseTextInputWidget;
}
@override
@@ -104,7 +107,10 @@ class _FormTextInputWidgetState extends State<FormTextInputWidget> {
] else ...[
// Custom implementation for advanced features
if (widget.labelText.isNotEmpty) ...[
- Text(widget.labelText),
+ Text(
+ widget.labelText,
+ style: textTheme.body,
+ ),
const SizedBox(height: 4),
],
ClipRRect(
diff --git a/mobile/apps/locker/lib/ui/pages/account_credentials_page.dart b/mobile/apps/locker/lib/ui/pages/account_credentials_page.dart
index cc8e0904fe..8b633ce925 100644
--- a/mobile/apps/locker/lib/ui/pages/account_credentials_page.dart
+++ b/mobile/apps/locker/lib/ui/pages/account_credentials_page.dart
@@ -96,6 +96,7 @@ class _AccountCredentialsPageState
labelText: context.l10n.credentialName,
hintText: context.l10n.credentialNameHint,
controller: _nameController,
+ shouldUseTextInputWidget: false,
validator: (value) {
if (value == null || value.trim().isEmpty) {
return context.l10n.pleaseEnterAccountName;
@@ -108,6 +109,7 @@ class _AccountCredentialsPageState
labelText: context.l10n.username,
hintText: context.l10n.usernameHint,
controller: _usernameController,
+ shouldUseTextInputWidget: false,
validator: (value) {
if (value == null || value.trim().isEmpty) {
return context.l10n.pleaseEnterUsername;
@@ -121,6 +123,7 @@ class _AccountCredentialsPageState
hintText: context.l10n.passwordHint,
controller: _passwordController,
obscureText: !_passwordVisible,
+ shouldUseTextInputWidget: false,
suffixIcon: IconButton(
icon: Icon(
_passwordVisible ? Icons.visibility : Icons.visibility_off,
@@ -143,6 +146,7 @@ class _AccountCredentialsPageState
labelText: context.l10n.credentialNotes,
hintText: context.l10n.credentialNotesHint,
controller: _notesController,
+ shouldUseTextInputWidget: false,
maxLines: 3,
),
const SizedBox(height: 24),
diff --git a/mobile/apps/locker/lib/ui/pages/base_info_page.dart b/mobile/apps/locker/lib/ui/pages/base_info_page.dart
index 71638e08fc..1973830090 100644
--- a/mobile/apps/locker/lib/ui/pages/base_info_page.dart
+++ b/mobile/apps/locker/lib/ui/pages/base_info_page.dart
@@ -1,9 +1,9 @@
-import 'dart:io';
-
import 'package:ente_ui/components/buttons/gradient_button.dart';
+import "package:ente_ui/components/title_bar_title_widget.dart";
import 'package:ente_ui/theme/ente_theme.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
+import "package:hugeicons/hugeicons.dart";
import 'package:locker/l10n/l10n.dart';
import 'package:locker/models/info/info_item.dart';
import 'package:locker/services/collections/collections_service.dart';
@@ -296,8 +296,11 @@ abstract class BaseInfoPageState<T extends InfoData, W extends BaseInfoPage<T>>
crossAxisAlignment: CrossAxisAlignment.start,
children: [
if (label.isNotEmpty) ...[
- Text(label), // Use default style to match FormTextInputWidget
- const SizedBox(height: 4),
+ Text(
+ label,
+ style: textTheme.body,
+ ), // Use default style to match FormTextInputWidget
+ const SizedBox(height: 12),
],
ClipRRect(
borderRadius: const BorderRadius.all(Radius.circular(8)),
@@ -347,7 +350,7 @@ abstract class BaseInfoPageState<T extends InfoData, W extends BaseInfoPage<T>>
Widget build(BuildContext context) {
final isViewMode = _currentMode == InfoPageMode.view;
final isEditMode = _currentMode == InfoPageMode.edit;
-
+ final colorScheme = getEnteColorScheme(context);
return PopScope(
canPop: isViewMode,
onPopInvokedWithResult: (didPop, result) {
@@ -358,18 +361,21 @@ abstract class BaseInfoPageState<T extends InfoData, W extends BaseInfoPage<T>>
},
child: Scaffold(
appBar: AppBar(
- title: Text(pageTitle),
+ backgroundColor: colorScheme.backgroundBase,
+ surfaceTintColor: Colors.transparent,
+ toolbarHeight: 48,
+ leadingWidth: 48,
leading: isEditMode && currentData != null
? IconButton(
- icon: Icon(
- Platform.isIOS ? Icons.arrow_back_ios : Icons.arrow_back,
+ icon: const Icon(
+ Icons.arrow_back_outlined,
),
onPressed: _toggleMode,
tooltip: 'Back to view',
)
: IconButton(
- icon: Icon(
- Platform.isIOS ? Icons.arrow_back_ios : Icons.arrow_back,
+ icon: const Icon(
+ Icons.arrow_back_outlined,
),
onPressed: () => Navigator.of(context).pop(),
tooltip: 'Back',
@@ -384,16 +390,24 @@ abstract class BaseInfoPageState<T extends InfoData, W extends BaseInfoPage<T>>
),
],
),
+ backgroundColor: colorScheme.backgroundBase,
body: Container(
padding: const EdgeInsets.symmetric(horizontal: 16.0),
child: Form(
key: _formKey,
child: Column(
+ crossAxisAlignment: CrossAxisAlignment.start,
children: [
+ Padding(
+ padding: const EdgeInsets.symmetric(vertical: 4.0),
+ child: TitleBarTitleWidget(
+ title: pageTitle,
+ ),
+ ),
Expanded(
child: SingleChildScrollView(
child: Padding(
- padding: const EdgeInsets.only(top: 20),
+ padding: const EdgeInsets.symmetric(vertical: 20),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
@@ -422,13 +436,19 @@ abstract class BaseInfoPageState<T extends InfoData, W extends BaseInfoPage<T>>
// Save button only in edit mode
if (isEditMode) ...[
const SizedBox(height: 20),
- SizedBox(
- width: double.infinity,
- child: GradientButton(
- onTap: _isLoading ? null : _saveRecord,
- text: _isLoading
- ? context.l10n.pleaseWait
- : submitButtonText,
+ SafeArea(
+ child: SizedBox(
+ width: double.infinity,
+ child: GradientButton(
+ hugeIcon: HugeIcon(
+ icon: HugeIcons.strokeRoundedAddCircleHalfDot,
+ color: colorScheme.iconColor,
+ ),
+ onTap: _isLoading ? null : _saveRecord,
+ text: _isLoading
+ ? context.l10n.pleaseWait
+ : submitButtonText,
+ ),
),
),
],
diff --git a/mobile/apps/locker/lib/ui/pages/emergency_contact_page.dart b/mobile/apps/locker/lib/ui/pages/emergency_contact_page.dart
index c657058eda..ee36afac1b 100644
--- a/mobile/apps/locker/lib/ui/pages/emergency_contact_page.dart
+++ b/mobile/apps/locker/lib/ui/pages/emergency_contact_page.dart
@@ -84,6 +84,7 @@ class _EmergencyContactPageState
labelText: context.l10n.contactName,
hintText: context.l10n.contactNameHint,
controller: _nameController,
+ shouldUseTextInputWidget: false,
validator: (value) {
if (value == null || value.trim().isEmpty) {
return context.l10n.pleaseEnterContactName;
@@ -96,6 +97,7 @@ class _EmergencyContactPageState
labelText: context.l10n.contactDetails,
hintText: context.l10n.contactDetailsHint,
controller: _contactDetailsController,
+ shouldUseTextInputWidget: false,
validator: (value) {
if (value == null || value.trim().isEmpty) {
return context.l10n.pleaseEnterContactDetails;
@@ -108,6 +110,7 @@ class _EmergencyContactPageState
labelText: context.l10n.contactNotes,
hintText: context.l10n.contactNotesHint,
controller: _notesController,
+ shouldUseTextInputWidget: false,
maxLines: 3,
),
const SizedBox(height: 24),
diff --git a/mobile/apps/locker/lib/ui/pages/home_page.dart b/mobile/apps/locker/lib/ui/pages/home_page.dart
index bc7f614488..fb5f063463 100644
--- a/mobile/apps/locker/lib/ui/pages/home_page.dart
+++ b/mobile/apps/locker/lib/ui/pages/home_page.dart
@@ -509,7 +509,9 @@ class _HomePageState extends UploaderPageState<HomePage>
child: GradientButton(
onTap: _createCollection,
text: context.l10n.createCollection,
- iconData: Icons.add,
+ hugeIcon: const HugeIcon(
+ icon: HugeIcons.strokeRoundedPlusSign,
+ ),
paddingValue: 8.0,
),
),
@@ -588,7 +590,11 @@ class _HomePageState extends UploaderPageState<HomePage>
GradientButton(
onTap: addFile,
text: context.l10n.uploadDocument,
- iconData: Icons.file_upload,
+ hugeIcon: HugeIcon(
+ icon: HugeIcons.strokeRoundedFile01,
+ color: getEnteColorScheme(context).primary700,
+ size: 20,
+ ),
paddingValue: 8.0,
),
],
diff --git a/mobile/apps/locker/lib/ui/pages/information_page.dart b/mobile/apps/locker/lib/ui/pages/information_page.dart
index 1f84bf7dbf..07163f1a6a 100644
--- a/mobile/apps/locker/lib/ui/pages/information_page.dart
+++ b/mobile/apps/locker/lib/ui/pages/information_page.dart
@@ -1,5 +1,7 @@
+import "package:ente_ui/components/title_bar_title_widget.dart";
import 'package:ente_ui/theme/ente_theme.dart';
import 'package:flutter/material.dart';
+import 'package:hugeicons/hugeicons.dart';
import 'package:locker/l10n/l10n.dart';
import 'package:locker/ui/pages/account_credentials_page.dart';
import 'package:locker/ui/pages/emergency_contact_page.dart';
@@ -18,73 +20,100 @@ class InformationPage extends StatelessWidget {
@override
Widget build(BuildContext context) {
+ final colorScheme = getEnteColorScheme(context);
return Scaffold(
appBar: AppBar(
- title: Text(
- context.l10n.saveInformation,
- style: const TextStyle(fontWeight: FontWeight.bold),
+ backgroundColor: colorScheme.backgroundBase,
+ surfaceTintColor: Colors.transparent,
+ toolbarHeight: 48,
+ leadingWidth: 48,
+ leading: GestureDetector(
+ onTap: () {
+ Navigator.pop(context);
+ },
+ child: const Icon(
+ Icons.arrow_back_outlined,
+ ),
),
- elevation: 0,
- backgroundColor: Theme.of(context).scaffoldBackgroundColor,
- foregroundColor: Theme.of(context).textTheme.bodyLarge?.color,
),
- body: SingleChildScrollView(
- padding: const EdgeInsets.all(24),
- child: Column(
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- Text(
- context.l10n.informationDescription,
- style: getEnteTextTheme(context).body.copyWith(
- color: Colors.grey[600],
- ),
- ),
- const SizedBox(height: 32),
- _buildInformationOption(
- context,
- icon: Icons.notes,
- title: context.l10n.personalNote,
- description: context.l10n.personalNoteDescription,
- type: InformationType.note,
- ),
- const SizedBox(height: 16),
- _buildInformationOption(
- context,
- icon: Icons.folder_outlined,
- title: context.l10n.physicalRecords,
- description: context.l10n.physicalRecordsDescription,
- type: InformationType.physicalRecord,
+ backgroundColor: colorScheme.backgroundBase,
+ body: Column(
+ crossAxisAlignment: CrossAxisAlignment.start,
+ children: [
+ const Padding(
+ padding: EdgeInsets.symmetric(vertical: 4, horizontal: 16),
+ child: TitleBarTitleWidget(
+ title: "Save Information",
),
- const SizedBox(height: 16),
- _buildInformationOption(
- context,
- icon: Icons.lock,
- title: context.l10n.accountCredentials,
- description: context.l10n.accountCredentialsDescription,
- type: InformationType.credentials,
- ),
- const SizedBox(height: 16),
- _buildInformationOption(
- context,
- icon: Icons.contact_phone,
- title: context.l10n.emergencyContact,
- description: context.l10n.emergencyContactDescription,
- type: InformationType.emergencyContact,
+ ),
+ SingleChildScrollView(
+ padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 20),
+ child: Column(
+ children: [
+ _buildInformationOption(
+ context,
+ icon: HugeIcon(
+ icon: HugeIcons.strokeRoundedPencilEdit02,
+ size: 24,
+ color: colorScheme.primary700,
+ ),
+ title: context.l10n.personalNote,
+ description: context.l10n.personalNoteDescription,
+ type: InformationType.note,
+ ),
+ const SizedBox(height: 16),
+ _buildInformationOption(
+ context,
+ icon: HugeIcon(
+ icon: HugeIcons.strokeRoundedFolder02,
+ size: 24,
+ color: colorScheme.primary700,
+ ),
+ title: context.l10n.physicalRecords,
+ description: context.l10n.physicalRecordsDescription,
+ type: InformationType.physicalRecord,
+ ),
+ const SizedBox(height: 16),
+ _buildInformationOption(
+ context,
+ icon: HugeIcon(
+ icon: HugeIcons.strokeRoundedUserEdit01,
+ size: 24,
+ color: colorScheme.primary700,
+ ),
+ title: context.l10n.accountCredentials,
+ description: context.l10n.accountCredentialsDescription,
+ type: InformationType.credentials,
+ ),
+ const SizedBox(height: 16),
+ _buildInformationOption(
+ context,
+ icon: HugeIcon(
+ icon: HugeIcons.strokeRoundedContactBook,
+ size: 24,
+ color: colorScheme.primary700,
+ ),
+ title: context.l10n.emergencyContact,
+ description: context.l10n.emergencyContactDescription,
+ type: InformationType.emergencyContact,
+ ),
+ const SizedBox(height: 32),
+ ],
),
- const SizedBox(height: 32),
- ],
- ),
+ ),
+ ],
),
);
}
Widget _buildInformationOption(
BuildContext context, {
- required IconData icon,
+ required HugeIcon icon,
required String title,
required String description,
required InformationType type,
}) {
+ final colorScheme = getEnteColorScheme(context);
return GestureDetector(
onTap: () {
_showInformationForm(context, type);
@@ -92,16 +121,12 @@ class InformationPage extends StatelessWidget {
child: Container(
padding: const EdgeInsets.all(16),
decoration: BoxDecoration(
- borderRadius: BorderRadius.circular(8),
- color: getEnteColorScheme(context).fillFaint,
+ borderRadius: BorderRadius.circular(20),
+ color: getEnteColorScheme(context).backdropBase,
),
child: Row(
children: [
- Icon(
- icon,
- size: 24,
- color: getEnteColorScheme(context).primary500,
- ),
+ icon,
const SizedBox(width: 16),
Expanded(
child: Column(
@@ -109,23 +134,19 @@ class InformationPage extends StatelessWidget {
children: [
Text(
title,
- style: getEnteTextTheme(context).body.copyWith(
- fontWeight: FontWeight.w500,
- ),
+ style: getEnteTextTheme(context).bodyBold,
),
const SizedBox(height: 4),
Text(
description,
- style: getEnteTextTheme(context).small.copyWith(
- color: Colors.grey[600],
- ),
+ style: getEnteTextTheme(context).smallMuted,
),
],
),
),
Icon(
Icons.chevron_right,
- color: Colors.grey[400],
+ color: colorScheme.textBase,
),
],
),
diff --git a/mobile/apps/locker/lib/ui/pages/personal_note_page.dart b/mobile/apps/locker/lib/ui/pages/personal_note_page.dart
index 9d31ba8cff..a413c1e5b5 100644
--- a/mobile/apps/locker/lib/ui/pages/personal_note_page.dart
+++ b/mobile/apps/locker/lib/ui/pages/personal_note_page.dart
@@ -77,6 +77,7 @@ class _PersonalNotePageState
labelText: context.l10n.noteName,
hintText: context.l10n.noteNameHint,
controller: _nameController,
+ shouldUseTextInputWidget: false,
validator: (value) {
if (value == null || value.trim().isEmpty) {
return context.l10n.pleaseEnterNoteName;
diff --git a/mobile/apps/locker/lib/ui/pages/physical_records_page.dart b/mobile/apps/locker/lib/ui/pages/physical_records_page.dart
index c4355c69eb..aff14a4fa7 100644
--- a/mobile/apps/locker/lib/ui/pages/physical_records_page.dart
+++ b/mobile/apps/locker/lib/ui/pages/physical_records_page.dart
@@ -83,6 +83,7 @@ class _PhysicalRecordsPageState
labelText: context.l10n.recordName,
hintText: context.l10n.recordNameHint,
controller: _nameController,
+ shouldUseTextInputWidget: false,
validator: (value) {
if (value == null || value.trim().isEmpty) {
return context.l10n.pleaseEnterRecordName;
@@ -95,6 +96,7 @@ class _PhysicalRecordsPageState
labelText: context.l10n.recordLocation,
hintText: context.l10n.recordLocationHint,
controller: _locationController,
+ shouldUseTextInputWidget: false,
validator: (value) {
if (value == null || value.trim().isEmpty) {
return context.l10n.pleaseEnterLocation;
@@ -107,6 +109,7 @@ class _PhysicalRecordsPageState
labelText: context.l10n.recordNotes,
hintText: context.l10n.recordNotesHint,
controller: _notesController,
+ shouldUseTextInputWidget: false,
maxLines: 3,
),
const SizedBox(height: 24),
diff --git a/mobile/packages/ui/lib/components/buttons/gradient_button.dart b/mobile/packages/ui/lib/components/buttons/gradient_button.dart
index f5b6d9eeb9..e812caf47b 100644
--- a/mobile/packages/ui/lib/components/buttons/gradient_button.dart
+++ b/mobile/packages/ui/lib/components/buttons/gradient_button.dart
@@ -1,81 +1,55 @@
import 'package:ente_ui/theme/ente_theme.dart';
import 'package:flutter/material.dart';
+import 'package:hugeicons/hugeicons.dart';
class GradientButton extends StatelessWidget {
- final Function? onTap;
-
- // text is ignored if child is specified
+ final VoidCallback? onTap;
final String text;
-
- // nullable
- final IconData? iconData;
-
- // padding between the text and icon
+ final HugeIcon? hugeIcon;
final double paddingValue;
const GradientButton({
super.key,
this.onTap,
this.text = '',
- this.iconData,
- this.paddingValue = 0.0,
+ this.hugeIcon,
+ this.paddingValue = 6.0,
});
+ static const TextStyle _textStyle = TextStyle(
+ color: Colors.white,
+ fontWeight: FontWeight.w600,
+ fontFamily: 'Inter-SemiBold',
+ fontSize: 18,
+ );
+
@override
Widget build(BuildContext context) {
- Widget buttonContent;
- if (iconData == null) {
- buttonContent = Text(
- text,
- style: const TextStyle(
- color: Colors.white,
- fontWeight: FontWeight.w600,
- fontFamily: 'Inter-SemiBold',
- fontSize: 18,
- ),
- );
- } else {
- buttonContent = Row(
- mainAxisAlignment: MainAxisAlignment.center,
- crossAxisAlignment: CrossAxisAlignment.center,
- children: [
- Icon(
- iconData,
- size: 20,
- color: Colors.white,
- ),
- const Padding(padding: EdgeInsets.symmetric(horizontal: 6)),
- Text(
- text,
- style: const TextStyle(
- color: Colors.white,
- fontWeight: FontWeight.w600,
- fontFamily: 'Inter-SemiBold',
- fontSize: 18,
- ),
- ),
- ],
- );
- }
- return InkWell(
- onTap: onTap as void Function()?,
- child: ClipRRect(
- borderRadius: BorderRadius.circular(4),
- child: Container(
- height: 56,
- decoration: BoxDecoration(
- gradient: LinearGradient(
- begin: const Alignment(0.1, -0.9),
- end: const Alignment(-0.6, 0.9),
- colors: onTap != null
- ? getEnteColorScheme(context).gradientButtonBgColors
- : [
- getEnteColorScheme(context).fillMuted,
- getEnteColorScheme(context).fillMuted,
- ],
- ),
+ final Widget textWidget = Text(text, style: _textStyle);
+
+ final Widget content = (hugeIcon != null)
+ ? Row(
+ mainAxisAlignment: MainAxisAlignment.center,
+ crossAxisAlignment: CrossAxisAlignment.center,
+ mainAxisSize: MainAxisSize.min,
+ children: [
+ hugeIcon!,
+ Padding(padding: EdgeInsets.symmetric(horizontal: paddingValue)),
+ if (text.isNotEmpty) textWidget,
+ ],
+ )
+ : textWidget;
+
+ return ClipRRect(
+ borderRadius: BorderRadius.circular(20),
+ child: Material(
+ color: getEnteColorScheme(context).primary700,
+ child: InkWell(
+ onTap: onTap,
+ child: SizedBox(
+ height: 56,
+ child: Center(child: content),
),
- child: Center(child: buttonContent),
),
),
);
diff --git a/mobile/packages/ui/pubspec.lock b/mobile/packages/ui/pubspec.lock
index b7a1b1ef33..b0a2c78048 100644
--- a/mobile/packages/ui/pubspec.lock
+++ b/mobile/packages/ui/pubspec.lock
@@ -398,6 +398,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "0.1.3"
+ flutter_svg:
+ dependency: transitive
+ description:
+ name: flutter_svg
+ sha256: b9c2ad5872518a27507ab432d1fb97e8813b05f0fc693f9d40fad06d073e0678
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.2.1"
flutter_test:
dependency: "direct dev"
description: flutter
@@ -456,6 +464,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "4.1.2"
+ hugeicons:
+ dependency: "direct main"
+ description:
+ name: hugeicons
+ sha256: "036d917bd12e2dee331de7910a11417ebf6c80be1962c0d63ee945e3184f0937"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.1.1"
intl:
dependency: transitive
description:
@@ -584,6 +600,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.9.1"
+ path_parsing:
+ dependency: transitive
+ description:
+ name: path_parsing
+ sha256: "883402936929eac138ee0a45da5b0f2c80f89913e6dc3bf77eb65b84b409c6ca"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.1.0"
path_provider:
dependency: transitive
description:
@@ -632,6 +656,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.3.0"
+ petitparser:
+ dependency: transitive
+ description:
+ name: petitparser
+ sha256: "1a97266a94f7350d30ae522c0af07890c70b8e62c71e8e3920d1db4d23c057d1"
+ url: "https://pub.dev"
+ source: hosted
+ version: "7.0.1"
platform:
dependency: transitive
description:
@@ -965,6 +997,30 @@ packages:
url: "https://pub.dev"
source: hosted
version: "4.5.1"
+ vector_graphics:
+ dependency: transitive
+ description:
+ name: vector_graphics
+ sha256: a4f059dc26fc8295b5921376600a194c4ec7d55e72f2fe4c7d2831e103d461e6
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.1.19"
+ vector_graphics_codec:
+ dependency: transitive
+ description:
+ name: vector_graphics_codec
+ sha256: "99fd9fbd34d9f9a32efd7b6a6aae14125d8237b10403b422a6a6dfeac2806146"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.1.13"
+ vector_graphics_compiler:
+ dependency: transitive
+ description:
+ name: vector_graphics_compiler
+ sha256: d354a7ec6931e6047785f4db12a1f61ec3d43b207fc0790f863818543f8ff0dc
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.1.19"
vector_math:
dependency: transitive
description:
@@ -1021,6 +1077,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.1.0"
+ xml:
+ dependency: transitive
+ description:
+ name: xml
+ sha256: "971043b3a0d3da28727e40ed3e0b5d18b742fa5a68665cca88e74b7876d5e025"
+ url: "https://pub.dev"
+ source: hosted
+ version: "6.6.1"
sdks:
dart: ">=3.8.0 <4.0.0"
flutter: ">=3.29.0"
diff --git a/mobile/packages/ui/pubspec.yaml b/mobile/packages/ui/pubspec.yaml
index bff75fe7f2..fb370f8a11 100644
--- a/mobile/packages/ui/pubspec.yaml
+++ b/mobile/packages/ui/pubspec.yaml
@@ -25,6 +25,7 @@ dependencies:
flutter_animate: ^4.5.2
flutter_inappwebview: ^6.1.4
fluttertoast: ^8.1.1
+ hugeicons: ^1.1.1
modal_bottom_sheet: ^3.0.0
shared_preferences: ^2.5.3
window_manager: ^0.5.0