chore: Update eva_icons_flutter dependency to version 3.1.0

This commit is contained in:
jantunesmesias 2024-08-02 15:11:59 -03:00
parent ae698a276d
commit 3556493ce0
5 changed files with 134 additions and 130 deletions

View File

@ -417,6 +417,7 @@ class NotificationHandler {
log('Showing visit request notification dialog');
showDialog(
context: context,
barrierDismissible: true,
builder: (BuildContext context) {
_getIdBasedOnUserType(message);
return Dialog(

View File

@ -145,9 +145,7 @@ class _VisitRequestTemplateComponentWidgetState
return LayoutBuilder(
builder: (context, constraints) {
return Align(
alignment: const AlignmentDirectional(0.0, 0.0),
child: Padding(
return Padding(
padding: const EdgeInsets.symmetric(horizontal: 10.0),
child: Container(
width: constraints.maxWidth,
@ -274,7 +272,6 @@ class _VisitRequestTemplateComponentWidgetState
),
),
),
),
);
},
);

View File

@ -2,6 +2,7 @@
import 'dart:developer';
import 'package:eva_icons_flutter/eva_icons_flutter.dart';
import 'package:hub/app_state.dart';
import 'package:hub/backend/api_requests/api_calls.dart';
import 'package:hub/backend/api_requests/api_manager.dart';
@ -260,8 +261,10 @@ Widget messageHistoryItem(BuildContext context, dynamic jsonBody) {
children: [
Icon(
jsonBody['MSG_DESTINO_TP'] == 'T'
? Icons.group
: Icons.person,
? EvaIcons.globe
: jsonBody['MSG_DESTINO_TP'] == 'P'
? Icons.person
: Icons.home,
color: FlutterFlowTheme.of(context).primary,
size: 25,
),

View File

@ -233,6 +233,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.0.5"
eva_icons_flutter:
dependency: "direct main"
description:
name: eva_icons_flutter
sha256: "6d48a10b93590ab83eb092bee5adacdeb14f3d83f527a4b9e4092c363d56e2a8"
url: "https://pub.dev"
source: hosted
version: "3.1.0"
fake_async:
dependency: transitive
description:

View File

@ -3,7 +3,7 @@ description: A new Flutter project.
# The following line prevents the package from being accidentally published to
# pub.dev using `pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
publish_to: "none" # Remove this line if you wish to publish to pub.dev
# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
@ -49,6 +49,7 @@ dependencies:
flutter_plugin_android_lifecycle: 2.0.20
share_plus: ^9.0.0
flutter_secure_storage: 9.2.2
eva_icons_flutter: ^3.1.0
flutter_secure_storage_linux: 1.2.1
flutter_secure_storage_macos: 3.1.2
flutter_secure_storage_platform_interface: 1.1.2
@ -99,7 +100,6 @@ dependencies:
video_player_platform_interface: 6.2.2
video_player_web: 2.3.1
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.0
@ -123,24 +123,20 @@ dev_dependencies:
flutter_test:
sdk: flutter
flutter_launcher_icons:
android: 'launcher_icon'
android: "launcher_icon"
ios: true
web:
generate: true
image_path: 'assets/images/app_launcher_icon.svg'
adaptive_icon_background: 'assets/images/adaptive_background_icon.svg'
adaptive_icon_foreground: 'assets/images/adaptive_foreground_icon.svg'
image_path: "assets/images/app_launcher_icon.svg"
adaptive_icon_background: "assets/images/adaptive_background_icon.svg"
adaptive_icon_foreground: "assets/images/adaptive_foreground_icon.svg"
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
# The following section is specific to Flutter.
flutter:
# The following line ensures that the Material Icons font is
# included with your application, so that you can use the icons in
# the material Icons class.
@ -158,7 +154,7 @@ flutter:
- assets/rive_animations/
- assets/pdfs/
fonts:
- family: 'SF Pro'
- family: "SF Pro"
fonts:
- asset: assets/fonts/SFPRODISPLAYREGULAR.OTF
- asset: assets/fonts/SFPRODISPLAYMEDIUM.OTF
@ -173,7 +169,6 @@ flutter:
fonts:
- asset: assets/fonts/menu.ttf
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/assets-and-images/#resolution-aware.