diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index f67e80b..29fb761 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -1,8 +1,9 @@ + + android:icon="@mipmap/launcher_icon"> - - + + + + + + + + diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index 61660c9..d252b6f 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -539,7 +539,7 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = AppIcon; CLANG_ANALYZER_NONNULL = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; @@ -596,7 +596,7 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = AppIcon; CLANG_ANALYZER_NONNULL = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png index dc9ada4..b429b53 100644 Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png index 7353c41..ee8083c 100644 Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png index 797d452..a95c500 100644 Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png index 6ed2d93..639320a 100644 Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png index 4cd7b00..5a48796 100644 Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png index fe73094..319a044 100644 Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png index 321773c..d4c1d97 100644 Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png index 797d452..a95c500 100644 Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png index 502f463..6057cdd 100644 Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png index 0ec3034..ff048e8 100644 Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-50x50@1x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-50x50@1x.png new file mode 100644 index 0000000..06aa3e5 Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-50x50@1x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-50x50@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-50x50@2x.png new file mode 100644 index 0000000..c71de19 Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-50x50@2x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png new file mode 100644 index 0000000..03a0230 Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png new file mode 100644 index 0000000..201d847 Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png index 0ec3034..ff048e8 100644 Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png index e9f5fea..fc7cb06 100644 Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png new file mode 100644 index 0000000..5a97b13 Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png new file mode 100644 index 0000000..b5fd571 Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png index 84ac32a..10ac7d4 100644 Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png index 8953cba..e2aae73 100644 Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png index 0467bf1..e7d8c05 100644 Binary files a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png differ diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist index 4b82aaf..0fd1198 100644 --- a/ios/Runner/Info.plist +++ b/ios/Runner/Info.plist @@ -5,7 +5,7 @@ CFBundleDevelopmentRegion $(DEVELOPMENT_LANGUAGE) CFBundleDisplayName - Cargo + Cargo 66 CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier diff --git a/lib/core/constants/api.dart b/lib/core/constants/api.dart index 68b33df..bb6b4dd 100644 --- a/lib/core/constants/api.dart +++ b/lib/core/constants/api.dart @@ -1,4 +1,5 @@ // const String baseUrl = 'https://192.168.99.64:5001/api'; const String baseUrl = 'https://cargo.tpsadvertising.com/api'; +const String imageUrl = 'https://cargo.tpsadvertising.com'; const String defaultApiKey = ''; const String defaultSources = ''; diff --git a/lib/core/constants/assets.dart b/lib/core/constants/assets.dart index baa73e9..3437543 100644 --- a/lib/core/constants/assets.dart +++ b/lib/core/constants/assets.dart @@ -5,6 +5,7 @@ sealed class AppAssets { static const String trucks = 'assets/svg/trucks.svg'; ///png + static const String logoPng = 'assets/logo/logo.png'; static const String boxesPng = 'assets/images/boxes.png'; static const String trucksPng = 'assets/images/trucks.png'; static const String header = 'assets/images/header.png'; diff --git a/lib/data/models/user/user_model.dart b/lib/data/models/user/user_model.dart index 33fbb35..f33ccd4 100644 --- a/lib/data/models/user/user_model.dart +++ b/lib/data/models/user/user_model.dart @@ -23,13 +23,13 @@ class UserModel extends User { factory UserModel.fromJson(Map json) => UserModel( oid: json['Oid'], - fullName: json['FullName'], + fullName: json['Fulname'], phone: json['PhoneNo'], ); Map toJson() => { 'Oid': oid, - 'FullName': fullName, + 'FulName': fullName, 'PhoneNo': phone, }; } diff --git a/lib/presentation/screens/image_full.dart b/lib/presentation/screens/image_full.dart new file mode 100644 index 0000000..8b980d3 --- /dev/null +++ b/lib/presentation/screens/image_full.dart @@ -0,0 +1,33 @@ +import 'package:easy_localization/easy_localization.dart'; +import 'package:flutter/material.dart'; + +class FullScreenImageScreen extends StatelessWidget { + final String imageUrl; + + const FullScreenImageScreen({super.key, required this.imageUrl}); + + @override + Widget build(BuildContext context) { + return Scaffold( + appBar: AppBar( + backgroundColor: Colors.black, + title: Text('image_preview'.tr()), + ), + backgroundColor: Colors.black, + body: Center( + child: InteractiveViewer( + panEnabled: true, // Allows panning (moving the image) + minScale: 0.5, + maxScale: 3.0, // Maximum zoom level + child: Image.network( + imageUrl, + fit: BoxFit.contain, + errorBuilder: (context, error, stackTrace) { + return const Icon(Icons.broken_image, size: 200, color: Colors.white); + }, + ), + ), + ), + ); + } +} diff --git a/lib/presentation/screens/login.dart b/lib/presentation/screens/login.dart index 0c7fca5..ba1baad 100644 --- a/lib/presentation/screens/login.dart +++ b/lib/presentation/screens/login.dart @@ -62,9 +62,13 @@ class _LoginScreenState extends State { padding: const EdgeInsets.only(top: 60, bottom: 20), child: Column( children: [ - SvgPicture.asset( - AppAssets.logo, - height: AppDimensions.normalize(30), + // SvgPicture.asset( + // AppAssets.logo, + // height: AppDimensions.normalize(30), + // ), + Image.asset( + AppAssets.logoPng, + height: AppDimensions.normalize(50), ), Space.yf(0.80), Text( diff --git a/lib/presentation/screens/order_details.dart b/lib/presentation/screens/order_details.dart index e5ed015..dbc54ba 100644 --- a/lib/presentation/screens/order_details.dart +++ b/lib/presentation/screens/order_details.dart @@ -7,7 +7,7 @@ import '../../application/order_detail_bloc/order_detail_bloc.dart'; import '../../configs/configs.dart'; import '../../core/core.dart'; import '../../domain/entities/order/order.dart'; -import '../widgets/map/clustering.dart'; +import '../widgets/clustering.dart'; import '../widgets/widgets.dart'; class OrderDetailsScreen extends StatefulWidget { @@ -22,10 +22,12 @@ class OrderDetailsScreen extends StatefulWidget { class _OrderDetailsScreenState extends State { bool _isFullScreen = false; // Track fullscreen mode bool _showLocation = true; + final List _images = []; @override void initState() { context.read().add(GetRoutes(widget.order.cargoId)); + _setImages(); _checkLocationStatus(); super.initState(); } @@ -37,6 +39,18 @@ class _OrderDetailsScreenState extends State { }); } + void _setImages() { + if (widget.order.image1.isNotEmpty) { + _images.add(widget.order.image1); + } + if (widget.order.image2.isNotEmpty) { + _images.add(widget.order.image2); + } + if (widget.order.image3.isNotEmpty) { + _images.add(widget.order.image3); + } + } + void _toggleFullScreen() { setState(() { _isFullScreen = !_isFullScreen; @@ -125,6 +139,15 @@ class _OrderDetailsScreenState extends State { /// location card LocationCard(cargoId: widget.order.cargoId), + + /// gap + Space.y!, + + ///images widget + ImagesWidget(imageStrings: _images), + + /// gap + Space.yf(2), ], ), ), diff --git a/lib/presentation/screens/screens.dart b/lib/presentation/screens/screens.dart index 8306dfb..68646c7 100644 --- a/lib/presentation/screens/screens.dart +++ b/lib/presentation/screens/screens.dart @@ -6,3 +6,4 @@ export 'profile.dart'; export 'root.dart'; export 'splash.dart'; export 'splash2.dart'; +export 'image_full.dart'; diff --git a/lib/presentation/screens/splash.dart b/lib/presentation/screens/splash.dart index 7b8c07f..216db76 100644 --- a/lib/presentation/screens/splash.dart +++ b/lib/presentation/screens/splash.dart @@ -46,9 +46,13 @@ class SplashScreen extends StatelessWidget { child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ - SvgPicture.asset( - AppAssets.logo, - height: AppDimensions.normalize(30), + // SvgPicture.asset( + // AppAssets.logo, + // height: AppDimensions.normalize(30), + // ), + Image.asset( + AppAssets.logoPng, + height: AppDimensions.normalize(50), ), Space.yf(0.80), Text( diff --git a/lib/presentation/widgets/map/clustering.dart b/lib/presentation/widgets/clustering.dart similarity index 97% rename from lib/presentation/widgets/map/clustering.dart rename to lib/presentation/widgets/clustering.dart index bec91e8..ed3238d 100644 --- a/lib/presentation/widgets/map/clustering.dart +++ b/lib/presentation/widgets/clustering.dart @@ -4,7 +4,7 @@ import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:flutter_map/flutter_map.dart'; import 'package:latlong2/latlong.dart'; -import '../../../application/order_detail_bloc/order_detail_bloc.dart'; +import '../../application/order_detail_bloc/order_detail_bloc.dart'; class ClusteringPage extends StatefulWidget { final VoidCallback onFullScreenToggle; diff --git a/lib/presentation/widgets/images.dart b/lib/presentation/widgets/images.dart new file mode 100644 index 0000000..63189e8 --- /dev/null +++ b/lib/presentation/widgets/images.dart @@ -0,0 +1,52 @@ +import 'package:flutter/material.dart'; + +import '../../configs/app_dimensions.dart'; +import '../../core/constants/api.dart'; +import '../screens/image_full.dart'; + +class ImagesWidget extends StatelessWidget { + final List imageStrings; + + const ImagesWidget({super.key, required this.imageStrings}); + + @override + Widget build(BuildContext context) { + return SingleChildScrollView( + scrollDirection: Axis.horizontal, + child: Row( + children: imageStrings.map((imageString) { + return GestureDetector( + onTap: () { + Navigator.push( + context, + MaterialPageRoute( + builder: (context) => FullScreenImageScreen(imageUrl: '$imageUrl/$imageString'), + ), + ); + }, + child: Container( + margin: const EdgeInsets.symmetric(horizontal: 4.0, vertical: 8), + padding: const EdgeInsets.all(6), + decoration: BoxDecoration( + borderRadius: BorderRadius.circular(8), + border: Border.all( + color: Colors.grey, + width: 2, + ), // Adding a border + ), + child: Image.network( + '$imageUrl/$imageString', + width: AppDimensions.normalize(60), + height: AppDimensions.normalize(60), + fit: BoxFit.cover, + errorBuilder: (context, error, stackTrace) { + return const Icon(Icons.broken_image, size: 100); + }, + ), + ), + ); + }).toList(), + ), + ); + } +} diff --git a/lib/presentation/widgets/widgets.dart b/lib/presentation/widgets/widgets.dart index 7f71691..dc033a7 100644 --- a/lib/presentation/widgets/widgets.dart +++ b/lib/presentation/widgets/widgets.dart @@ -11,3 +11,4 @@ export 'order_header.dart'; export 'retry_widget.dart'; export 'successful_auth_dialog.dart'; export 'vertical_line.dart'; +export 'images.dart'; diff --git a/pubspec.lock b/pubspec.lock index 9a4ef0e..9463080 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -1,6 +1,14 @@ # Generated by pub # See https://dart.dev/tools/pub/glossary#lockfile packages: + archive: + dependency: transitive + description: + name: archive + sha256: cb6a278ef2dbb298455e1a713bda08524a175630ec643a242c399c932a0a1f7d + url: "https://pub.dev" + source: hosted + version: "3.6.1" args: dependency: transitive description: @@ -41,6 +49,22 @@ packages: url: "https://pub.dev" source: hosted version: "1.3.0" + checked_yaml: + dependency: transitive + description: + name: checked_yaml + sha256: feb6bed21949061731a7a75fc5d2aa727cf160b91af9a3e464c5e3a32e28b5ff + url: "https://pub.dev" + source: hosted + version: "2.0.3" + cli_util: + dependency: transitive + description: + name: cli_util + sha256: c05b7406fdabc7a49a3929d4af76bcaccbbffcbcdcf185b082e1ae07da323d19 + url: "https://pub.dev" + source: hosted + version: "0.4.1" clock: dependency: transitive description: @@ -57,6 +81,14 @@ packages: url: "https://pub.dev" source: hosted version: "1.18.0" + crypto: + dependency: transitive + description: + name: crypto + sha256: ec30d999af904f33454ba22ed9a86162b35e52b44ac4807d1d93c288041d7d27 + url: "https://pub.dev" + source: hosted + version: "3.0.5" cupertino_icons: dependency: "direct main" description: @@ -134,6 +166,14 @@ packages: url: "https://pub.dev" source: hosted version: "8.1.6" + flutter_launcher_icons: + dependency: "direct dev" + description: + name: flutter_launcher_icons + sha256: "526faf84284b86a4cb36d20a5e45147747b7563d921373d4ee0559c54fcdbcea" + url: "https://pub.dev" + source: hosted + version: "0.13.1" flutter_lints: dependency: "direct dev" description: @@ -205,6 +245,14 @@ packages: url: "https://pub.dev" source: hosted version: "4.0.2" + image: + dependency: transitive + description: + name: image + sha256: "2237616a36c0d69aef7549ab439b833fb7f9fb9fc861af2cc9ac3eedddd69ca8" + url: "https://pub.dev" + source: hosted + version: "4.2.0" internet_connection_checker: dependency: "direct main" description: @@ -221,6 +269,14 @@ packages: url: "https://pub.dev" source: hosted version: "0.19.0" + json_annotation: + dependency: transitive + description: + name: json_annotation + sha256: "1ce844379ca14835a50d2f019a3099f419082cfdd231cd86a142af94dd5c6bb1" + url: "https://pub.dev" + source: hosted + version: "4.9.0" latlong2: dependency: "direct main" description: @@ -602,6 +658,14 @@ packages: url: "https://pub.dev" source: hosted version: "6.5.0" + yaml: + dependency: transitive + description: + name: yaml + sha256: "75769501ea3489fca56601ff33454fe45507ea3bfb014161abc3b43ae25989d5" + url: "https://pub.dev" + source: hosted + version: "3.1.2" sdks: dart: ">=3.4.1 <4.0.0" flutter: ">=3.22.0" diff --git a/pubspec.yaml b/pubspec.yaml index ee6ba8d..6c68170 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -31,6 +31,8 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter + flutter_launcher_icons: ^0.13.1 + flutter_lints: ^3.0.0 @@ -38,33 +40,17 @@ flutter: uses-material-design: true assets: + - assets/logo/ - assets/svg/ - assets/svg/logo/ - assets/images/ - assets/locale/ - # An image asset can refer to one or more resolution-specific "variants", see - # https://flutter.dev/assets-and-images/#resolution-aware +flutter_launcher_icons: + android: "launcher_icon" + ios: true + image_path: "assets/logo/logo.png" + min_sdk_android: 21 # android min sdk min:16, default 21 + remove_alpha_ios: true + adaptive_icon_background: "#343FDE" - # For details regarding adding assets from package dependencies, see - # https://flutter.dev/assets-and-images/#from-packages - - # To add custom fonts to your application, add a fonts section here, - # in this "flutter" section. Each entry in this list should have a - # "family" key with the font family name, and a "fonts" key with a - # list giving the asset and other descriptors for the font. For - # example: - # fonts: - # - family: Schyler - # fonts: - # - asset: fonts/Schyler-Regular.ttf - # - asset: fonts/Schyler-Italic.ttf - # style: italic - # - family: Trajan Pro - # fonts: - # - asset: fonts/TrajanPro.ttf - # - asset: fonts/TrajanPro_Bold.ttf - # weight: 700 - # - # For details regarding fonts from package dependencies, - # see https://flutter.dev/custom-fonts/#from-packages