flutter-dependencies

Flutter error on pod install: CocoaPods could not find compatible versions for pod “Firebase/CoreOnly”

六月ゝ 毕业季﹏ 提交于 2021-02-19 05:14:48
问题 My Flutter app is not working on my iOS device, while its working perfectly on android. I'm getting an error on pod install This is the output of pod install --verbose alyzing dependencies Inspecting targets to integrate Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``) Using `ARCHS` setting to build architectures of target `Pods-OneSignalNotificationServiceExtension`: (``) Finding Podfile changes A contacts_service A firebase_auth A flutter_crashlytics A local_auth A

Flutter error on pod install: CocoaPods could not find compatible versions for pod “Firebase/CoreOnly”

北城余情 提交于 2021-02-19 05:14:20
问题 My Flutter app is not working on my iOS device, while its working perfectly on android. I'm getting an error on pod install This is the output of pod install --verbose alyzing dependencies Inspecting targets to integrate Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``) Using `ARCHS` setting to build architectures of target `Pods-OneSignalNotificationServiceExtension`: (``) Finding Podfile changes A contacts_service A firebase_auth A flutter_crashlytics A local_auth A

Flutter: EasyLoading library No MediaQuery widget found error

孤街醉人 提交于 2021-02-17 06:18:37
问题 I use EasyLoading library(https://pub.dev/packages/flutter_easyloading). Everything works fine. But when I double click TextFormField this error occurs. I tried to make MaterialApp as root widget and put EasyLoading as child but this time EasyLoading not working. My code: void main() { runApp(MyApp()); configLoading(); } class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return FlutterEasyLoading( child: GestureDetector( onTap: () { FocusScopeNode

Flutter :-How to put the view in the Center and Bottom of the screen?

我与影子孤独终老i 提交于 2021-02-17 05:41:09
问题 I am creating the tutorial screen in which the two views like:- one is should be in the center of the screen and another should at the bottom of the screen. But my both view is not proper, please check the below images. I have done some lines of the code to do it but the not getting the proper solution, please check below code once import 'package:flutter/material.dart'; import 'package:page_indicator/page_indicator.dart'; import 'login_screen.dart'; class Tutorial extends StatefulWidget {

Flutter :- Inside the PageView Image is not setting to fit the screen on width?

痴心易碎 提交于 2021-02-16 20:16:08
问题 I am using the PageView for the view-pager functionality and showing the image on each page with contains some text and button on each page. As I am using the Stack widget for putting the view on one another like Relative-layout in Android , But My Image on the First Page of the PageView is not set to fit on the screen I have tried the below solution like below 1).First link 2). Second Link But not getting the proper solution, I have tried the below lines of code for it, class

How to import and make use of a package in flutter?

蓝咒 提交于 2021-02-11 15:40:40
问题 I will like to know how to import a new package from third party in flutter and call it in my code? 回答1: You can find a lot of packages on Pub.dev. To import it just open any package and navigate to the Installing Tab. Then you just need to copy this sentence to your pubspec.yaml file. Paste line under dependencies in pubspec.yaml . Note that spaces is very important so make it start just under flutter: when pasting. Save changes in pubspec.yaml and it will install the packages automatically.

Convert images clicked from your phone to pdf in flutter using image_clicker and pdf package

做~自己de王妃 提交于 2021-02-11 14:39:39
问题 I am clicking images using the image_picker package and the images are returned as a File Type, I am storing all the images I click in a list of type File( because image_picker is returning a File ). Now i want to convert all the images into one pdf, for this i am using the pdf package. So, how do i do that, in the documentation they showed the way only for Text and Image, i need to know how to add files in a pdf. import 'package:flutter/material.dart'; import 'package:image_picker/image

Flutter, in_app_purchase is seriously hard to test

删除回忆录丶 提交于 2021-02-11 14:21:18
问题 After looking at the somewhat poor in_app_purchase pub dev documentation, after distributing the test version several times, I succeeded in sending the internal test url to the test device to download it. However, as soon as I entered the in_app_purchase screen with a real device, an app termination dialog error appeared and the app was forcibly turned off. I am really badly angry now. I don't understand why it made it so difficult to test, but I can't even see what caused the error. I did

Flutter Just Audio playbackEvent

有些话、适合烂在心里 提交于 2021-02-11 13:27:17
问题 I am using a package called Just Audio in my Flutter app. It provides an playBackEvent: playbackEvent.currentPosition which shows the time position that has been played in the Audio file. However I'm a little new to Dart and don't really understand how to subscribe a listener to this event so that I can do something with the changing values. What I want to do is run a function which sets state when the value changes so I can show the progress and let the users know how far through the Audio

Flutter Just Audio playbackEvent

徘徊边缘 提交于 2021-02-11 13:25:30
问题 I am using a package called Just Audio in my Flutter app. It provides an playBackEvent: playbackEvent.currentPosition which shows the time position that has been played in the Audio file. However I'm a little new to Dart and don't really understand how to subscribe a listener to this event so that I can do something with the changing values. What I want to do is run a function which sets state when the value changes so I can show the progress and let the users know how far through the Audio