Flutter application can not take reponse from any request after upgraded - android

My case: After upgrade to Flutter Channel Stable version 2.0.5 from version 2.0.0 my app can not take res from any request to the server (I am using DIO)
No log, no debugger console, no error,...
I have tried to downgrade to 2.0.0, change the channel, clone the project into another machine, but still not resolve problem.
I was stuck for 5 days...
Here is my pubsec:
dependencies:
flutter:
sdk: flutter
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.0
# Packages
flutter_onboard: ^0.1.0
splashscreen: ^1.3.5
flutter_screenutil: ^4.0.2+3
pin_code_fields: ^6.0.2
dots_indicator: ^1.2.0
animated_bottom_navigation_bar: ^0.2.1
circular_reveal_animation: ^1.1.5
auto_size_text: ^2.1.0
expandable: ^4.1.4
# carousel_slider: ^2.3.1
flutter_bloc: ^6.1.1
bloc: ^6.1.1
rxdart: ^0.25.0
equatable: ^1.2.3
meta: ^1.1.8
flutter_html: ^0.8.2
qr_code_scanner: ^0.3.0
flutter_easyloading: ^2.2.2
flutter_facebook_login: ^3.0.0
google_sign_in: ^4.5.1
sign_in_with_apple: ^2.5.4
carousel_slider: ^3.0.0
cached_network_image: ^2.5.0
flutter_secure_storage: ^3.3.3
webview_flutter: ^1.0.7
flutter_datetime_picker: ^1.5.0
flutter_spinkit: ^4.1.2+1
package_info: ^0.4.3+4
# firebase's packages
firebase_crashlytics: ^2.0.0
firebase_analytics: ^8.0.0
firebase_auth: ^1.1.0
firebase_core: ^1.0.3
# dependencies
image_picker: ^0.7.4
image: ^3.0.2
flutter_svg: ^0.21.0+1
pull_to_refresh: ^1.6.5
device_info: ^2.0.0
sim_info: ^0.1.3
permission_handler: ^6.1.3
geolocator: ^7.0.3
url_launcher: ^6.0.3
# easy_localization: ^2.0.2
# http client
http_parser: ^4.0.0
connectivity: ^3.0.3
http: ^0.13.1
dio: ^4.0.0
dependency_overrides:
intl: ^0.17.0-nullsafety.2
shared_preferences: ^2.0.5
dev_dependencies:
flutter_test:
sdk: flutter
# integration_test:
# sdk: flutter
# 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.
uses-material-design: true
# To add assets to your application, add an assets section, like this:
# assets:
# - images/a_dot_burr.jpeg
# - images/a_dot_ham.jpeg
assets:
- assets/images/
- assets/images/icons/
- assets/images/graphics/
- assets/svg/onboard/
- assets/svg/icons/
- assets/svg/graphics/
- assets/languages/

Related

Error while install exists Flutter project

Error while dart run build_runner build
Log: https://pastebin.com/k0gpWuun
Verbose Log: https://pastebin.com/BNgVh6pV
pubspec.yaml:
environment:
sdk: ">=2.12.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.2
webview_flutter: ^2.0.9
flutter_inappwebview: ^5.3.2
url_launcher: ^6.0.8
flutter_svg: ^0.22.0
uni_links: ^0.5.1
flutter_webview_plugin: ^0.4.0
flutter_share: ^2.0.0
package_info_plus: ^1.0.6
dio: ^4.0.0
sign_in_with_apple: ^3.0.0
google_sign_in: ^5.1.0
json_serializable: ^4.1.4
build: ^2.1.0
get_it: ^7.2.0
dev_dependencies:
flutter_test:
sdk: flutter
build_runner:
flutter clean and other cmd's not working for me
Reinstall Flutter, migrate to Linux (heh), reinstall sdk's
Please update your pubspec.yaml file to
dependencies:
analyzer: ^5.4.0 <- add this
dev_dependencies:
build_runner: ^2.3.3 <- add into dev_dependecies

Flutter Pub Get Error when trying to run some old project

Evening All,
I am was trying to run some old project in github but when trying to run pub get having this kind of error
Running "flutter pub get" in budgex...
Because flutter_html >=2.0.0-nullsafety.1 depends on html >=0.15.0 <1.0.0 and every version of link_previewer depends on html ^0.14.0+2, flutter_html >=2.0.0-nullsafety.1 is incompatible with link_previewer.
So, because budgex depends on both link_previewer ^1.2.1 and flutter_html ^2.2.1, version solving failed.
pub get failed (1; So, because budgex depends on both link_previewer ^1.2.1 and flutter_html ^2.2.1, version solving failed.)
exit code 1
i am already change some dependencies into latest version without local package folder and files from plugin here is the pubspec.yaml
name: budgex
description: This Application is a Simple Budget Manager
publish_to: "none"
version: 1.0.0+1
environment:
sdk: ">=2.12.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
bitbox : ^0.0.5
flutter_icons : ^1.1.0
link_previewer : ^1.2.1
web3dart : ^2.5.1
animated_bottom_navigation_bar: ^0.2.1
animations: ^1.1.2
badges: ^2.0.1
beamer: ^0.14.1
bitcoin_flutter: ^2.0.2
bot_toast: ^3.0.5
cached_network_image: ^3.0.0
chart_sparkline: ^1.0.5
charts_flutter: ^0.6.0
container_tab_indicator: ^0.3.0
csv: ^4.0.3
cupertino_icons: ^1.0.2
dartx: ^0.7.1
dartz: ^0.10.0-nullsafety.2
data_connection_checker: ^0.3.4
decimal: ^1.2.0
encrypt: ^5.0.0
english_words: ^3.1.0
extended_image: ^4.1.0
file_picker: ^3.0.3
fl_chart: ^0.36.2
flash: ^1.5.1
flex_color_picker: ^2.1.1
flutter_barcode_sdk: ^1.2.2
flutter_bloc: ^7.0.0
flutter_dynamic_icon: ^2.0.0
flutter_echarts: ^2.1.0
flutter_facebook_auth: ^3.5.0
flutter_form_builder: ^6.0.1
flutter_html: ^2.2.1
flutter_phoenix: ^1.0.0
flutter_screenutil: ^4.0.3
flutter_slidable: ^0.5.7
flutter_spinkit: ^4.1.2+1
flutter_staggered_animations: ^0.1.2
flutter_staggered_grid_view: ^0.4.0
flutter_svg: ^0.22.0
flutter_swiper: ^1.1.6
flutter_uix: ^0.1.2-nullsafety.2
font_awesome_flutter: ^9.1.0
formz: ^0.4.0
freezed_annotation: ^0.14.2
google_fonts: ^2.1.0
google_sign_in: ^5.0.4
grouped_list: ^4.0.0
hive: ^2.0.4
hive_flutter: ^1.1.0
hooks_riverpod: ^0.14.0+4
http_auth: ^0.2.5
json_diff: ^0.2.0
keccak: ^1.0.3
keyboard_avoider: ^0.1.2
liquid_pull_to_refresh: ^3.0.0
local_auth: ^1.1.6
logger: ^1.0.0
marquee: ^2.2.0
material_design_icons_flutter: ^4.0.5345
modal_bottom_sheet: ^2.0.0
money_formatter: ^0.0.3
onesignal_flutter: ^3.0.0
overlay_support: ^1.2.0
package_info: 2.0.0
page_transition: ^1.0.9
path: ^1.6.4
path_provider: ^2.0.2
percent_indicator: ^2.1.7+2
permission_handler: ^8.1.2
pinput: ^1.2.0
pretty_qr_code: ^2.0.2
protobuf: ^2.0.0
protoc_plugin: ^20.0.0
qr: ^2.1.0
qr_flutter: ^4.0.0
random_string: ^2.0.1
readmore: ^1.0.1
riverbloc: ^0.5.0
rounded_loading_button: ^2.0.5
shared_preferences: ^2.0.6
shimmer: ^1.0.1
showcaseview: ^0.1.6
sticky_headers: ^0.1.8
syncfusion_flutter_charts: ^19.2.44+1
table_calendar: ^3.0.1
theme_provider: ^0.5.0
timeago: ^3.1.0
transparent_image: ^1.0.0
ultimate_data_generator : ^1.0.0
validators: ^2.0.0+1
dev_dependencies:
flutter_test:
sdk: flutter
bloc_test: ^8.0.2
build_runner: ^2.0.5
flutter_launcher_icons: ^0.9.0
flutter_native_splash: ^1.1.9
freezed: ^0.14.2
hive_generator: ^1.1.0
json_serializable: ^4.1.3
mockito: ^5.0.10
dependency_overrides:
args: ^2.1.1
crypto: ^3.0.0
hex: ^0.1.2
convert: ^3.0.0
intl: ^0.17.0
bip39: ^1.0.5
pointycastle: ^3.0.0
dart_style: ^2.0.0
http: ^0.13.0
fixnum: ^1.0.0
vin_decoder : ^0.1.4+1
basic_utils : 3.3.3
flutter_icons:
android: true
ios: true
image_path: assets/icon/icon.png
flutter_native_splash:
image: assets/images/splash.png
color: "121212"
android_disable_fullscreen: true
flutter:
uses-material-design: true
# shed hill people icon fragile critic vicious return write coconut jump clutch
# royal calm banner faith tiny capital tooth nerve attract addict garbage wish
assets:
- assets/
- assets/images/
- assets/rive/
- assets/icon/
- fonts/
fonts:
- family: Avenir Next
fonts:
- asset: fonts/AvenirNext.otf
- family: WorkSans
fonts:
- asset: assets/fonts/WorkSans-Regular.ttf
- asset: assets/fonts/WorkSans-Medium.ttf
weight: 500
- asset: assets/fonts/WorkSans-SemiBold.ttf
weight: 600
- asset: assets/fonts/WorkSans-Bold.ttf
weight: 700
# - family: Roboto
# fonts:
# - asset: fonts/Roboto-Italic.ttf
# - asset: fonts/Roboto-normal.ttf
Anyone can help this problem? appreciated it for helping
One of the way to solve above problem is, rather than specifying version code beside of any package you can just do below thing
flutter_html:
link_previewer:
...
you will need to update your dependencies so that they are compatible with each other. You can do this by modifying the version constraints in your pubspec.yaml file. For example, if you change the version constraint for html in link_previewer to be compatible with the constraint in flutter_html, you should be able to run flutter pub get
It is also possible that a newer version of link_previewer or flutter_html may have been released that resolves this conflict, so you may want to check for updates to these packages. However, be sure to carefully review the changelog for any updates to make sure that they won't break your project.
This error indicates that there is a conflict between the versions of link_previewer and flutter_html

The flutter plugin `sms` uses a deprecated version of the Android embedding

SMS package is not included in the project and is not used by another package also
but still, it's showing an error
the plugin sms uses a deprecated version of the Android embedding.
To avoid unexpected runtime failures or future build failures, try to see if this plugin supports the Android V2 embedding. Otherwise, consider removing it since a future release of Flutter will remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding:
https://flutter.dev/go/android-plugin-migration.
error showing
pubspec.yaml
name: bznus
description: A new Flutter application.
repository: https://github.com/Baseflow/flutter-geolocator/tree/master/geolocator_android
issue_tracker: https://github.com/Baseflow/flutter-geolocator/issues?q=is%3Aissue+is%3Aopen
# 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
# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.0.3
environment:
sdk: ">=2.7.0 <3.0.0"
# sdk: ">=2.12.0 <3.0.0"
# flutter: ">=1.20.0"
dependencies:
flutter:
sdk: flutter
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.2
pdf: ^3.7.4
path_provider_android: ^2.0.12
# flutter_full_pdf_viewer: ^1.0.6
url_launcher_android: ^6.0.15
fading_images_slider: ^0.0.4
flutter_barcode_scanner: ^2.0.0
ticket_widget: ^0.0.1
hive: ^2.0.4
percent_indicator: ^4.0.0
hive_flutter: ^1.1.0
flutter_tree: ^1.1.0
# motion_tab_bar: ^0.1.5
awesome_bottom_navigation: ^0.0.4
linked_scroll_controller: ^0.2.0
geolocator_platform_interface: ^4.0.3
razorpay_flutter: ^1.1.1
# showcaseview: ^1.1.1
flutter_swiper: ^1.1.6
horizontal_data_table:
# flutter_form_builder: ^7.1.1
datetime_picker_formfield: ^2.0.0
device_info: ^2.0.2
syncfusion_flutter_gauges: ^19.1.69
step_progress_indicator: ^1.0.1
intl_phone_number_input: ^0.7.0+2
currency_picker: ^2.0.4
currency_pickers: ^1.0.6
country_currency_pickers: ^2.0.0
swipe_to: ^1.0.2
dash_chat: ^1.1.16
auto_size_text_field: ^1.0.1
flutter_localizations:
sdk: flutter
google_fonts:
flutter_slidable: ^1.2.0
getwidget:
# flutter_webview_plugin: ^0.3.11
event_bus: ^2.0.0
draggable_widget: ^2.0.0
im_stepper: ^0.1.3
adobe_xd: ^2.0.0+1
contacts_service: ^0.6.1
flutter_html:
syncfusion_flutter_charts:
flutter_chat_bubble: ^2.0.0
# flutter_summernote:
rich_editor:
^0.0.4
# intl: ^0.16.0
# state management
provider:
path_provider: ^2.0.5
csv: ^5.0.0
random_string: ^2.3.1
flutter_staggered_grid_view: ^0.6.1
file_picker:
^4.0.3
# flutter_instagram_stories: ^1.0.0
#st 8.0.0
firebase_core: ^1.13.1
flutter_signin_button: ^2.0.0
cloud_firestore:
story_view: ^0.13.1
stories_for_flutter: ^1.1.1
fluttericon: ^2.0.0
vertical_tabs: ^0.2.0
steps: ^1.0.1
flutter_rating_bar: ^4.0.0
persistent_bottom_nav_bar: ^4.0.2
fancy_bottom_navigation: ^0.3.2
animations: ^2.0.0
google_nav_bar: ^5.0.5
line_icons: ^2.0.1
flutter_tindercard: ^0.2.0
flutter_custom_clippers: ^2.0.0
sliding_up_panel: ^2.0.0+1
fancy_drawer: ^2.0.0
carousel_slider: ^4.0.0
pinch_zoom: ^1.0.0
photo_view: ^0.13.0
dashed_circle: ^0.0.2
marquee: ^2.1.0
emoji_picker: ^0.1.0
badges: ^2.0.1
firestore_search:
flutter_staggered_animations: ^1.0.0
multi_image_picker: ^4.8.0
flutter_bloc:
connectivity:
^3.0.6
#path_provider: ^2.0.2
firebase_auth: ^3.1.1
url_launcher: ^6.0.2
# email_auth: ^0.0.1+4
flutter_otp: ^0.3.2
google_sign_in: ^5.1.0
google_sign_in_web: ^0.10.0
giffy_dialog: ^1.8.0
font_awesome_flutter: ^9.1.0
simple_animations: ^4.0.1
shimmer: ^2.0.0
flutter_countdown_timer: ^4.1.0
flip_panel: ^1.0.1
flutter_chips_input: ^1.10.0
chips_choice: ^2.0.1
dio: ^4.0.0
bottom_bar_with_sheet:
collapsible_sidebar: ^2.0.0
multi_select_flutter: ^4.0.0
# contacts_service: ^0.3.10
# permission_handler:
super_tooltip: ^1.0.1
firebase_storage: ^10.0.3
carousel_pro: ^1.0.0
# flutter_absolute_path: ^1.0.6
fluttertoast: ^8.0.8
# camera: ^0.9.4+1
# storage_path: ^0.0.8
achievement_view: ^0.2.1
lottie: ^1.0.1
# flutter_open_whatsapp: ^0.1.2
flutter_share_me: ^1.1.4
flutter_svg:
fl_chart: ^0.45.1
username_generator: ^1.3.0
regexpattern: ^2.0.1
get: ^4.1.4
age: ^0.0.1
slimy_card: ^1.0.4
cached_network_image: ^3.1.0
# dash_chat: ^1.1.16
image_picker: ^0.8.4+1
get_time_ago: ^1.0.2
bubble: ^1.2.1
custom_clippers: ^1.0.0
overlay_support: ^1.0.5
like_button: ^2.0.2
video_player:
# stacked_services: ^0.8.6
# get_it: ^7.1.3
stacked:
auto_size_text: ^3.0.0
# google_maps_place_picker:
permission_handler: ^9.2.0
# location:
direct_select_flutter: ^1.1.1
uuid:
firebase_messaging: ^11.2.4
local_auth: ^1.1.6
flutter_local_notifications: ^9.4.0
# flutter_sms: ^2.3.1
extended_image: ^6.0.1
image_editor: ^1.0.0
sms_autofill: ^2.0.0
pin_input_text_field: ^4.1.0
# gallery_saver: ^2.1.2
share: ^2.0.4
photofilters: ^3.0.1
weather: ^2.0.1
day_night_time_picker: ^1.0.2
drag_and_drop_lists: ^0.3.2
country_codes: ^2.0.1
flutter_reaction_button: ^2.0.0+1
# geolocator_android: ^1.0.1
intro_slider: ^3.0.3
google_cloud_translation: ^0.0.2+1
# googleapis: ^7.0.0
# googleapis_auth: ^1.3.0
flutter_secure_storage: ^5.0.2
# flutter_absolute_path: ^1.0.2
tree_view: ^0.0.6
bottom_picker: ^1.8.0
tcard: ^1.3.5
geocoding:
flutter_image_compress: ^1.1.0
date_picker_timeline: ^1.2.3
hashtagable: ^2.0.2+1
# flutter_animated_dialog: ^2.0.1
# flutter_contact: ^0.8.1+2
# flutter_platform_widgets: ^1.0.1-nullsafety.0
# full_text_search: ^0.7.5+2
# international_system_of_units: ^1.0.0-dev.5
# google_maps_place_picker: any
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^1.0.4
mockito: ^5.0.0-nullsafety.7
plugin_platform_interface: ^2.0.0
hive_generator: ^1.0.1
build_runner: ^2.1.7
share_plus: ^4.0.4
# 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:
# plugin:
# platforms:
# android:
# default_package: geolocator_android
# ios:
# default_package: geolocator_apple
# macos:
# default_package: geolocator_apple
# web:
# default_package: geolocator_web
# generate: true
# 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.
uses-material-design: true
# To add assets to your application, add an assets section, like this:
assets:
- icons/
- image/
- assets/event_images/
- assets/vanimage/
- assets/icons/
- assets/guest_images/
# - images/a_dot_ham.jpeg
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/assets-and-images/#resolution-aware.
# 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: CustomFont
# fonts:
# - asset: fonts/CustomFont.ttf
# - asset: fonts/Schyler-Italic.ttf
# style: italic
# - family: Trajan Pro
# fonts:
# - asset: fonts/TrajanPro.ttf
# - asset: fonts/TrajanPro_Bold.ttf
# weight: 700
#flutter
# For details regarding fonts from package dependencies,
# see https://flutter.dev/custom-fonts/#from-packages
tried everything
flutter clean
flutter pub get

Undefined symbol OBJC Class in Flutter

I'm trying to build my flutter project but I'm getting this error so I'm just wondering how can I fix this. This happens after adding the Cookie Manager plugin. I can run the app on an emulator and physical device without any problem but it gives me this error when I try to build it.
Podfile
# Uncomment this line to define a global platform for your project
platform :ios, '9.0'
use_frameworks!
pubspec.yaml
dependencies:
flutter:
sdk: flutter
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.2
lottie: ^1.2.1
hive: ^2.0.4
hive_flutter: ^1.1.0
flutter_hooks: ^0.16.0-nullsafety.0
hooks_riverpod: ^0.13.1
http: ^0.13.3
flutter_svg: ^0.22.0
flutter_facebook_auth: ^3.5.2
carousel_slider: ^4.0.0
modal_bottom_sheet: ^2.0.0
flutter_html: ^2.1.1
flutter_spinkit: ^5.0.0
jiffy: ^4.1.0
share: ^2.0.4
google_sign_in: ^5.1.1
wp_json_api: ^3.0.0
fluttertoast: ^8.0.8
flutter_tts: ^3.2.2
email_validator: ^2.0.1
onesignal_flutter: ^3.2.7
google_mobile_ads: ^0.13.3
url_launcher: ^6.0.9
sticky_headers: ^0.2.0
flutter_styled_toast: ^2.0.0
flutter_math_fork: 0.4.2+2
persistent_bottom_nav_bar: ^4.0.2
provider: ^6.0.2
path_provider: ^2.0.8
flutter_launcher_icons: "^0.9.2"
webview_flutter: ^2.0.4
webview_cookie_manager: ^2.0.0
shared_preferences: ^2.0.12

Target of URI doesn't exist:package:gradient_input_border/gradient_input_border.dart

I am new to flutter from android background,
I have imported a futter project both in VS and Android studio but I am getting Target URI dosen't expsist on these import statement.
import 'package:flutter_localizations/flutter_localizations.dart';
import 'package:gradient_input_border/gradient_input_border.dart';
My pubsec.yaml file is below here.
name: Emall
description: Ecommerce website
environment:
sdk: '>=2.10.0 <3.0.0'
dependencies:
cupertino_icons: ^0.1.2
scoped_model: ^1.0.1
rxdart: ^0.24.0
http: ^0.12.0+2
json_annotation: ^2.0.0
flutter_html: ^1.0.2
flutter_swiper: ^1.1.6
cached_network_image: ^2.3.3
shared_preferences: ^0.5.7+3
country_code_picker: ^1.1.7
url_launcher: ^5.4.11
timeago: ^2.0.26
flutter_rating_bar: ^3.0.1+1
webview_flutter: ^0.3.18+1
font_awesome_flutter: ^8.5.0
share: ^0.6.3+3
place_picker: 0.9.16
location: 2.3.5
fluttertoast: ^3.1.3
flutter_paystack: 1.0.2+1
sign_in_with_apple: ^2.5.2
image_picker: ^0.6.6+4
flutter_webview_plugin: 0.3.10+1
smooth_star_rating: ^1.1.1
flutter_icons: ^1.1.0
firebase_auth: ^0.18.0+1
google_sign_in: ^4.5.1
flutter_facebook_login: ^3.0.0
fab_circular_menu: ^0.1.4
google_fonts: ^0.3.5
stripe_payment: ^1.0.7
network_to_file_image: ^2.3.1
barcode_scan: ^3.0.1
geocoder: ^0.2.1
firebase_core: 0.5.0
firebase_analytics: 6.0.0
firebase_storage: 4.0.0
cloud_firestore: 0.14.0+2
photo_view: ^0.10.2
intro_slider: ^2.3.1
firebase_messaging: 7.0.0
rounded_loading_button: ^1.0.14
pin_code_fields: ^5.2.0
lottie: ^0.7.0+1
webview_cookie_manager: ^1.0.4
flutter_native_splash: ^0.1.9
change_app_package_name: ^0.1.2
flutter_launcher_icons: ^0.8.0
flutter:
uses-material-design: true
assets:
- lib/assets/images/
- lib/assets/images/intro/
dev_dependencies:
flutter_test:
sdk: flutter
flutter_localizations:
sdk: flutter
flutter_native_splash:
image: lib/assets/images/splash.png
color: "ffffff"
fonts:
- family: MStoreIcons
- fonts:
- asset: lib/assets/fonts/Icons/MStoreIcons.ttf
flutter_icons:
android: "launcher_icon"
ios: true
image_path: "lib/assets/images/icon.png"
Things I have already tried
Commands
flutter clean
flutter pub get
flutter packages upgrade
Invalidate Cache / Restart on Android Studio
Restarted Visual studio.
You need to install gradient_input_package.
dependencies:
// Add this dependency under dependecies as shown.
gradient_input_border: ^1.0.0
Then run flutter pub get.
Edit 1:
Try this for flutter_localizations,
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter

Categories

Resources