chore: Update eva_icons_flutter dependency to version 3.1.0
This commit is contained in:
parent
ae698a276d
commit
3556493ce0
|
@ -417,6 +417,7 @@ class NotificationHandler {
|
||||||
log('Showing visit request notification dialog');
|
log('Showing visit request notification dialog');
|
||||||
showDialog(
|
showDialog(
|
||||||
context: context,
|
context: context,
|
||||||
|
barrierDismissible: true,
|
||||||
builder: (BuildContext context) {
|
builder: (BuildContext context) {
|
||||||
_getIdBasedOnUserType(message);
|
_getIdBasedOnUserType(message);
|
||||||
return Dialog(
|
return Dialog(
|
||||||
|
|
|
@ -145,9 +145,7 @@ class _VisitRequestTemplateComponentWidgetState
|
||||||
|
|
||||||
return LayoutBuilder(
|
return LayoutBuilder(
|
||||||
builder: (context, constraints) {
|
builder: (context, constraints) {
|
||||||
return Align(
|
return Padding(
|
||||||
alignment: const AlignmentDirectional(0.0, 0.0),
|
|
||||||
child: Padding(
|
|
||||||
padding: const EdgeInsets.symmetric(horizontal: 10.0),
|
padding: const EdgeInsets.symmetric(horizontal: 10.0),
|
||||||
child: Container(
|
child: Container(
|
||||||
width: constraints.maxWidth,
|
width: constraints.maxWidth,
|
||||||
|
@ -274,7 +272,6 @@ class _VisitRequestTemplateComponentWidgetState
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
import 'dart:developer';
|
import 'dart:developer';
|
||||||
|
|
||||||
|
import 'package:eva_icons_flutter/eva_icons_flutter.dart';
|
||||||
import 'package:hub/app_state.dart';
|
import 'package:hub/app_state.dart';
|
||||||
import 'package:hub/backend/api_requests/api_calls.dart';
|
import 'package:hub/backend/api_requests/api_calls.dart';
|
||||||
import 'package:hub/backend/api_requests/api_manager.dart';
|
import 'package:hub/backend/api_requests/api_manager.dart';
|
||||||
|
@ -260,8 +261,10 @@ Widget messageHistoryItem(BuildContext context, dynamic jsonBody) {
|
||||||
children: [
|
children: [
|
||||||
Icon(
|
Icon(
|
||||||
jsonBody['MSG_DESTINO_TP'] == 'T'
|
jsonBody['MSG_DESTINO_TP'] == 'T'
|
||||||
? Icons.group
|
? EvaIcons.globe
|
||||||
: Icons.person,
|
: jsonBody['MSG_DESTINO_TP'] == 'P'
|
||||||
|
? Icons.person
|
||||||
|
: Icons.home,
|
||||||
color: FlutterFlowTheme.of(context).primary,
|
color: FlutterFlowTheme.of(context).primary,
|
||||||
size: 25,
|
size: 25,
|
||||||
),
|
),
|
||||||
|
|
|
@ -233,6 +233,14 @@ packages:
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "2.0.5"
|
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:
|
fake_async:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
|
19
pubspec.yaml
19
pubspec.yaml
|
@ -3,7 +3,7 @@ description: A new Flutter project.
|
||||||
|
|
||||||
# The following line prevents the package from being accidentally published to
|
# The following line prevents the package from being accidentally published to
|
||||||
# pub.dev using `pub publish`. This is preferred for private packages.
|
# 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.
|
# The following defines the version and build number for your application.
|
||||||
# A version number is three numbers separated by dots, like 1.2.43
|
# 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
|
flutter_plugin_android_lifecycle: 2.0.20
|
||||||
share_plus: ^9.0.0
|
share_plus: ^9.0.0
|
||||||
flutter_secure_storage: 9.2.2
|
flutter_secure_storage: 9.2.2
|
||||||
|
eva_icons_flutter: ^3.1.0
|
||||||
flutter_secure_storage_linux: 1.2.1
|
flutter_secure_storage_linux: 1.2.1
|
||||||
flutter_secure_storage_macos: 3.1.2
|
flutter_secure_storage_macos: 3.1.2
|
||||||
flutter_secure_storage_platform_interface: 1.1.2
|
flutter_secure_storage_platform_interface: 1.1.2
|
||||||
|
@ -99,7 +100,6 @@ dependencies:
|
||||||
video_player_platform_interface: 6.2.2
|
video_player_platform_interface: 6.2.2
|
||||||
video_player_web: 2.3.1
|
video_player_web: 2.3.1
|
||||||
|
|
||||||
|
|
||||||
# The following adds the Cupertino Icons font to your application.
|
# The following adds the Cupertino Icons font to your application.
|
||||||
# Use with the CupertinoIcons class for iOS style icons.
|
# Use with the CupertinoIcons class for iOS style icons.
|
||||||
cupertino_icons: ^1.0.0
|
cupertino_icons: ^1.0.0
|
||||||
|
@ -123,24 +123,20 @@ dev_dependencies:
|
||||||
flutter_test:
|
flutter_test:
|
||||||
sdk: flutter
|
sdk: flutter
|
||||||
|
|
||||||
|
|
||||||
flutter_launcher_icons:
|
flutter_launcher_icons:
|
||||||
android: 'launcher_icon'
|
android: "launcher_icon"
|
||||||
ios: true
|
ios: true
|
||||||
web:
|
web:
|
||||||
generate: true
|
generate: true
|
||||||
image_path: 'assets/images/app_launcher_icon.svg'
|
image_path: "assets/images/app_launcher_icon.svg"
|
||||||
adaptive_icon_background: 'assets/images/adaptive_background_icon.svg'
|
adaptive_icon_background: "assets/images/adaptive_background_icon.svg"
|
||||||
adaptive_icon_foreground: 'assets/images/adaptive_foreground_icon.svg'
|
adaptive_icon_foreground: "assets/images/adaptive_foreground_icon.svg"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# For information on the generic Dart part of this file, see the
|
# For information on the generic Dart part of this file, see the
|
||||||
# following page: https://dart.dev/tools/pub/pubspec
|
# following page: https://dart.dev/tools/pub/pubspec
|
||||||
|
|
||||||
# The following section is specific to Flutter.
|
# The following section is specific to Flutter.
|
||||||
flutter:
|
flutter:
|
||||||
|
|
||||||
# The following line ensures that the Material Icons font is
|
# The following line ensures that the Material Icons font is
|
||||||
# included with your application, so that you can use the icons in
|
# included with your application, so that you can use the icons in
|
||||||
# the material Icons class.
|
# the material Icons class.
|
||||||
|
@ -158,7 +154,7 @@ flutter:
|
||||||
- assets/rive_animations/
|
- assets/rive_animations/
|
||||||
- assets/pdfs/
|
- assets/pdfs/
|
||||||
fonts:
|
fonts:
|
||||||
- family: 'SF Pro'
|
- family: "SF Pro"
|
||||||
fonts:
|
fonts:
|
||||||
- asset: assets/fonts/SFPRODISPLAYREGULAR.OTF
|
- asset: assets/fonts/SFPRODISPLAYREGULAR.OTF
|
||||||
- asset: assets/fonts/SFPRODISPLAYMEDIUM.OTF
|
- asset: assets/fonts/SFPRODISPLAYMEDIUM.OTF
|
||||||
|
@ -173,7 +169,6 @@ flutter:
|
||||||
fonts:
|
fonts:
|
||||||
- asset: assets/fonts/menu.ttf
|
- asset: assets/fonts/menu.ttf
|
||||||
|
|
||||||
|
|
||||||
# An image asset can refer to one or more resolution-specific "variants", see
|
# An image asset can refer to one or more resolution-specific "variants", see
|
||||||
# https://flutter.dev/assets-and-images/#resolution-aware.
|
# https://flutter.dev/assets-and-images/#resolution-aware.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue