Flutter

Error: Unable to 'pub upgrade' flutter tool. Retrying in five seconds

自闭症网瘾萝莉.ら 提交于 2021-02-07 06:16:46
问题 Log: E:\Flutter>flutter doctor Checking Dart SDK version... Downloading Dart SDK from Flutter engine ead227f a... Unzipping Dart SDK... Updating flutter tool... Error: Unable to 'pub upgrade' flutter tool. Retrying in five seconds... Waiting for 0 seconds, press CTRL+C to quit ... Error: Unable to 'pub upgrade' flutter tool. Retrying in five seconds... Waiting for 0 seconds, press CTRL+C to quit ... Error: Unable to 'pub upgrade' flutter tool. Retrying in five seconds... Waiting for 0 seconds

Flutter - ListView.builder with very large size and does not change

放肆的年华 提交于 2021-02-07 06:16:44
问题 How can I decrease the size of items using the ListView.builder I already tried to tinker with everything in ItemCategory but the size remains the same. Using the ListView the size is the smallest good according to this images below: Using the Flutter - Strange ListView behavior after refresh code the items are well-sized, but by changing the ListView to ListView.builder the size changes completely and the ItemCategory class is the same without ListView.builder with ListView.builder import

Error: Unable to 'pub upgrade' flutter tool. Retrying in five seconds

北城余情 提交于 2021-02-07 06:15:27
问题 Log: E:\Flutter>flutter doctor Checking Dart SDK version... Downloading Dart SDK from Flutter engine ead227f a... Unzipping Dart SDK... Updating flutter tool... Error: Unable to 'pub upgrade' flutter tool. Retrying in five seconds... Waiting for 0 seconds, press CTRL+C to quit ... Error: Unable to 'pub upgrade' flutter tool. Retrying in five seconds... Waiting for 0 seconds, press CTRL+C to quit ... Error: Unable to 'pub upgrade' flutter tool. Retrying in five seconds... Waiting for 0 seconds

Error: Unable to 'pub upgrade' flutter tool. Retrying in five seconds

北城以北 提交于 2021-02-07 06:15:19
问题 Log: E:\Flutter>flutter doctor Checking Dart SDK version... Downloading Dart SDK from Flutter engine ead227f a... Unzipping Dart SDK... Updating flutter tool... Error: Unable to 'pub upgrade' flutter tool. Retrying in five seconds... Waiting for 0 seconds, press CTRL+C to quit ... Error: Unable to 'pub upgrade' flutter tool. Retrying in five seconds... Waiting for 0 seconds, press CTRL+C to quit ... Error: Unable to 'pub upgrade' flutter tool. Retrying in five seconds... Waiting for 0 seconds

Flutter - ListView.builder with very large size and does not change

坚强是说给别人听的谎言 提交于 2021-02-07 06:13:59
问题 How can I decrease the size of items using the ListView.builder I already tried to tinker with everything in ItemCategory but the size remains the same. Using the ListView the size is the smallest good according to this images below: Using the Flutter - Strange ListView behavior after refresh code the items are well-sized, but by changing the ListView to ListView.builder the size changes completely and the ItemCategory class is the same without ListView.builder with ListView.builder import

Flutter - ListView.builder with very large size and does not change

。_饼干妹妹 提交于 2021-02-07 06:13:33
问题 How can I decrease the size of items using the ListView.builder I already tried to tinker with everything in ItemCategory but the size remains the same. Using the ListView the size is the smallest good according to this images below: Using the Flutter - Strange ListView behavior after refresh code the items are well-sized, but by changing the ListView to ListView.builder the size changes completely and the ItemCategory class is the same without ListView.builder with ListView.builder import

in-app purchase crashes when fetching products from the Play Store in Flutter

随声附和 提交于 2021-02-07 05:02:41
问题 I am facing an issue after installing and implementing in-app purchase plugin Flutter team provided. What I did so far: added 2 products on Play Store that are visible and active. submitted build for alpha testing, since that is required for in-app purchase to work. added InAppPurchaseConnection.enablePendingPurchases(); at the app launch created a sequence of requests to the app store out of which last one fails with nasty log I can't work around bool available = await _iap.isAvailable(); if

in-app purchase crashes when fetching products from the Play Store in Flutter

徘徊边缘 提交于 2021-02-07 05:02:24
问题 I am facing an issue after installing and implementing in-app purchase plugin Flutter team provided. What I did so far: added 2 products on Play Store that are visible and active. submitted build for alpha testing, since that is required for in-app purchase to work. added InAppPurchaseConnection.enablePendingPurchases(); at the app launch created a sequence of requests to the app store out of which last one fails with nasty log I can't work around bool available = await _iap.isAvailable(); if

Flutter: Oauth2 - Problems with redirect uri

风流意气都作罢 提交于 2021-02-07 04:39:10
问题 I want to set up the oAuth authentication of the Spotify API in my Flutter app. I chose the flutter_web_auth 0.1.1 package. So far, I have managed that the user can log in to Spotify. After logging in, the user should be redirected back to my app. That does not work. Spotify always redirects the user to another website and not back to the app. How do I close the WebView after the user logging in and redirect the user to my app? import 'package:flutter/material.dart'; import 'package:flutter

Flutter sliding container into another container to show or hide some icons like with toolbar

谁都会走 提交于 2021-02-07 04:36:11
问题 in container you suppose i have AppBar() witch that i want to have another invisible container, like with this screen shot: in that two other container are invisible and i want to show them by sliding from top to bottom or bottom to top for change visibility on visible or invisible sliding from top to bottom to show or sliding that to top to hide sliding from bottom to top to show or sliding that to bottom to hide is any library to implementing this sliding animation? 回答1: Click on arrows to