text:
Android system back button not working

Today I realized that my app wasn't responding to Android's system back button. This was seen on both debug and release builds, and in 2 real devices and an emulator. I searched the internet and couldn't find an answer.
And I did some testing too. Using the WillPopScope widget I confirmed that it was registering the actions from the appbar's back button (in app) normally, but no sign of the system wide back button. Keeping in mind that I haven't been fidgeting with these kind of functionalities recently I kept wondering if the problem was with my code, so I created an brand new and fresh project and the problem persisted, both on emulator and physical device.
This problem, after all, did never thrown any error or anything suspicious on the debug console. Another thing to add is that the other buttons (the 'home' and the 'recent apps') kept working fine.
Steps to Reproduce

Create a new Flutter project (I used Android Studio's interface all standard options)
No files were updated or changed.
Ran on debug on emulator (SDK: "Target: google_apis_playstore [Google Play] (API level 30)") and real device (Galaxy S9+ Android 10).

Expected results:
The back button to work as intended by every other app.
Actual results:
It didn't work.
;-;

@CaLouro Are you on master channel? System back is not working on  master 1.21.0-6.0.pre.141 currently.

This started to happen to me since yesterday after I upgraded to latest version in the master branch. The back button was working before the upgrade so I assume it's a bug in the latest version.

run flutter upgrade on channel master, in the 1.21.0-6.0.pre.142 version this bug solved

I @CaLouro
I can't reproduce this on latest master channel.
Can you upgrade and try again
flutter channel master
flutter upgrade --force
flutter doctor -v

 Complete sample code
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(
        primarySwatch: Colors.teal,
        canvasColor: Colors.transparent,
      ),
      home: Scaffold(),
    );
  }
}

 flutter doctor -v
[✓] Flutter (Channel master, 1.21.0-6.0.pre.142, on Mac OS X 10.15.6 19G73,
    locale en)
    • Flutter version 1.21.0-6.0.pre.142 at
      /Users/pedromassango/dev/SDKs/flutter_master
    • Framework revision d261f1ef58 (5 hours ago), 2020-08-03 00:59:36 -0400
    • Engine revision 083282e33b
    • Dart version 2.10.0 (build 2.10.0-2.0.dev 365525432a)
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.1
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor
      --android-licenses

[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.6, Build version 11E708
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] IntelliJ IDEA Community Edition (version 2020.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 47.1.4
    • Dart plugin version 202.6397.47

[✓] Connected device (3 available)
    • iPhone SE (2nd generation) (mobile) • 1119074E-0493-4533-9212-6758A33EB40C
      • ios            • com.apple.CoreSimulator.SimRuntime.iOS-13-6 (simulator)
    • Web Server (web)                    • web-server
      • web-javascript • Flutter Tools
    • Chrome (web)                        • chrome
      • web-javascript • Google Chrome 84.0.4147.105

! Doctor found issues in 2 categories.

It's working again after the upgrade, with Flutter 1.21.0-6.0.pre.142 • channel master

I was on master 1.21.0-6.0.pre.141. Just ran an upgrade and things are back to normal. Thanks everyone.

it is not working with below environment
[✓] Flutter (Channel master, 1.22.0-2.0.pre.162, on Mac OS X 10.15.6 19G2021, locale en-IN)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.0)
[✓] IntelliJ IDEA Community Edition (version 2019.3.4)
[✓] VS Code (version 1.43.0)

I've same problem after upgrading to 1.22.0-10.0.pre.65
Sometimes it works but I don't know why and most of time it doesn't work
Should I downgrade or a new version will release soon?

@z85510 Hey, check if your Flutter is not on the master branch. I recommend not using it since it's prone to this types of bugs. If you use the stable branch, it shouldn't have this bug.

authors: CaLouro DJafari NiranjanShah mnazim pedromassangocode vegidio z85510


text:
pigeon: missing required import in autogenerated .dart

@gaaclarke
Steps to Reproduce

Create a pigeon interface with result or parameter class with Uint8List supported type field
Generate dart/platform files

Expected results:
Successful compilation, no need to edit auto generated .dart file
Actual results:
Auto generated dart compilation error due to missing import 'dart:typed_data'

Please provide the results to flutter doctor -v

Please provide the results to flutter doctor -v

OK, thank you for prompt response! But generally speaking, this is a very evident issue regardless of actual configuration. That's why I've omitted extra unrelated details.
[✓] Flutter (Channel master, 1.22.0-2.0.pre.106, on Mac OS X 10.15.6 19G2021,
    locale en-UA)
    • Flutter version 1.22.0-2.0.pre.106 at /Users/apc/Library/flutter
    • Framework revision 2ae25cc2d7 (2 hours ago), 2020-08-28 09:00:53 -0700
    • Engine revision 77dd1c05b9
    • Dart version 2.10.0 (build 2.10.0-67.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/apc/Library/Android/sdk
    • Platform android-29, build-tools 29.0.2
    • ANDROID_HOME = /Users/apc/Library/Android/sdk
    • ANDROID_SDK_ROOT = /Users/apc/Library/Android/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✗] Xcode - develop for iOS and macOS
    ✗ Xcode installation is incomplete; a full installation is necessary for iOS
      development.
      Download at: https://developer.apple.com/xcode/download/
      Or install Xcode via the App Store.
      Once installed, run:
        sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
        sudo xcodebuild -runFirstLaunch
    ✗ CocoaPods not installed.
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin
        code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To install:
        sudo gem install cocoapods

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 48.1.2
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] Connected device (2 available)
    • Nexus 10 (mobile)       • R32D100K5GE   • android-arm • Android 5.1.1 (API
      22)
    • sdk gphone x86 (mobile) • emulator-5554 • android-x86 • Android 11 (API
      30) (emulator)

Thanks, I'll have to look into this.  It isn't immediately clear to me what is happening in your setup.  We have a number of integration tests that don't experience this problem.  There must be something different about your setup.  Ideally I find out the root cause before addressing it.

The thing is that as soon as I add import 'dart:typed_data' into generated file, everything works immediately like a charm.
Even in a pigeon file this import is required before generation, otherwise Uint8List is underlined with error:

import 'dart:typed_data';
import 'package:pigeon/pigeon_lib.dart';

class ProductInfo {
  Uint8List pngIcon;
  double pngIconSize;
  String applicationName;
  String applicationVersion;
}

I've faced this issue too. I also use Uint8List in my request class field

fixed in 0.1.5

source: gharchive/issue

authors: AlexBokhankovich arsenioo gaaclarke

repo: flutter/flutter

license_type: permissive

license_source: github-api


text:
Device lab's only iPhone 4s (ios32) is down

Our tree is red due to failures of flutter_gallery__transition_perf_e2e_ios32 and flutter_gallery_ios32__start_up. When I executed flutter devices on Mac11 that hosts this iPhone 4s device, I didn't see such device:
flutter-devicelab-mac-11:flutter flutter$ bin/flutter devices
3 connected devices:

macOS (desktop)  • macos      • darwin-x64     • Mac OS X 10.14.6 18G6032 x86_64
Web Server (web) • web-server • web-javascript • Flutter Tools
Chrome (web)     • chrome     • web-javascript • Google Chrome 77.0.3865.90

It woke up :)

authors: jonahwilliams liyuqian


text:
MethodChannel performs slow

I record start time at channel.invokeMethod ,record end time at setMethodCallHandler callback,
send 4000 byte data from native to dart ,it cost 40 ms .
but some times it perform good, only cost 10ms.
When called frequently, the performance will be worse.
No time-consuming method is executed in the channel.
Dart to native have the same problem.
In addition，how to send and receive dart message in non-ui thread？

Hi @robert-wq
Can you share the code you used for performance tests and your flutter doctor -v?
For asking questions I would suggest you to use Stack Overflow or see https://flutter.dev/community for a list of Flutter communities.
Thank you

for (int i = 0; i < 10; i++) {             handler.postDelayed(new Runnable() {                 @Override                 public void run() {                     Map map = new HashMap();                     map.put("timestamp", System.currentTimeMillis());                     Map map2 = new HashMap();                     map2.put("params", "XXXXXXXXXXXXXXXXXXXXXX");                     map.put("param", map2);                     mChannel.invokeMethod("gettime", map);                 }             }, i * 100);
android flutter doctor -v
[✓] Flutter (Channel stable, v1.12.13+hotfix.5, on Mac OS X 10.15.6 19G2021, locale zh-Hans-CN)
• Flutter version 1.12.13+hotfix.5 at /Users/jc/.fvm/versions/v1.12.13+hotfix.5-stable
• Framework revision 27321ebbad (11 months ago), 2019-12-10 18:15:01 -0800
• Engine revision 2994f7e1e6
• Dart version 2.7.0
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at /Users/jc/software/android
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.3
• ANDROID_HOME = /Users/jc/software/android
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.7)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.7, Build version 11E801a
• CocoaPods version 1.9.1
[!] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
[✓] VS Code (version 1.50.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.16.0
[✓] Connected device (1 available)
• Mi 10 • 48bbb91b • android-arm64 • Android 10 (API 29)
! Doctor found issues in 1 category.

Hi @robert-wq
Looks like you are using a really old Flutter version.
Can you please upgrade to the latest  stable and try again
flutter channel stable
flutter upgrade --force
flutter doctor -v
If the issue persists, please provide your flutter doctor -v and a minimal complete reproducible project sample?
Thank you

[✓] Flutter (Channel stable, 1.22.2, on Mac OS X 10.15.6 19G2021, locale zh-Hans-CN)
• Flutter version 1.22.2 at /Users/jc/software/flutter
• Framework revision 84f3d28555 (3 weeks ago), 2020-10-15 16:26:19 -0700
• Engine revision b8752bbfff
• Dart version 2.10.2
• Pub download mirror https://pub.sankuai.com
• Flutter download mirror https://storage.flutter-io.cn
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at /Users/jc/software/android
• Platform android-29, build-tools 29.0.3
• ANDROID_HOME = /Users/jc/software/android
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.7)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.7, Build version 11E801a
• CocoaPods version 1.9.1
[!] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
[✓] VS Code (version 1.50.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.16.0
[✓] Connected device (1 available)
• Mi 10 (mobile) • 48bbb91b • android-arm64 • Android 10 (API 29)
! Doctor found issues in 1 category.
flutter_test.zip
output log
(standard input):11-04 11:37:44.100 19951 19992 I flutter : callData  native to dart gettime 793
(standard input):11-04 11:37:44.108 19951 19992 I flutter : callData  native to dart gettime 702
(standard input):11-04 11:37:44.110 19951 19992 I flutter : callData  native to dart gettime 604
(standard input):11-04 11:37:44.110 19951 19992 I flutter : callData  native to dart gettime 504
(standard input):11-04 11:37:44.111 19951 19992 I flutter : callData  native to dart gettime 405
(standard input):11-04 11:37:44.112 19951 19992 I flutter : callData  native to dart gettime 305
(standard input):11-04 11:37:44.112 19951 19992 I flutter : callData  native to dart gettime 206
(standard input):11-04 11:37:46.509 19951 19992 I flutter : callData  native to dart gettime 1
(standard input):11-04 11:37:46.591 19951 19992 I flutter : callData  native to dart gettime 1
(standard input):11-04 11:37:46.691 19951 19992 I flutter : callData  native to dart gettime 1
(standard input):11-04 11:37:46.791 19951 19992 I flutter : callData  native to dart gettime 1
(standard input):11-04 11:37:46.892 19951 19992 I flutter : callData  native to dart gettime 2
(standard input):11-04 11:37:46.994 19951 19992 I flutter : callData  native to dart gettime 4
(standard input):11-04 11:37:47.094 19951 19992 I flutter : callData  native to dart gettime 3
(standard input):11-04 11:37:47.193 19951 19992 I flutter : callData  native to dart gettime 2
(standard input):11-04 11:37:47.293 19951 19992 I flutter : callData  native to dart gettime 3
(standard input):11-04 11:37:47.392 19951 19992 I flutter : callData  native to dart gettime 2

Cc @chinmaygarde @liyuqian
Note: it is required to update the Gradle URL in <project-name>/android/gradle/wrapper/gradle-wrapper.properties to run the project mentioned in the comment above to:
distributionUrl=https://services.gradle.org/distributions/gradle-4.10.1-all.zip
Somehow it give me error while trying to run the project.

I am running into the same problem. Trying to send this string:

[encoded data, 4484 characters]
from dart to android and the

_methodChannel.invokeMethod(FUNCTION_NAME, STRING)

Is taking randomly from 2 to 6 seconds. And of course during this time the app is freezing.

What are your plans for fixing this? Do you have any idea why is happening or how to improve the performance? Tried also with a Uint8List instead of a string but the result was the same.

(standard input):11-04 11:37:44.100 19951 19992 I flutter : callData native to dart gettime 793
(standard input):11-04 11:37:44.108 19951 19992 I flutter : callData native to dart gettime 702
(standard input):11-04 11:37:44.110 19951 19992 I flutter : callData native to dart gettime 604
(standard input):11-04 11:37:44.110 19951 19992 I flutter : callData native to dart gettime 504
(standard input):11-04 11:37:44.111 19951 19992 I flutter : callData native to dart gettime 405
(standard input):11-04 11:37:44.112 19951 19992 I flutter : callData native to dart gettime 305
(standard input):11-04 11:37:44.112 19951 19992 I flutter : callData native to dart gettime 206
(standard input):11-04 11:37:46.509 19951 19992 I flutter : callData native to dart gettime 1
(standard input):11-04 11:37:46.591 19951 19992 I flutter : callData native to dart gettime 1
(standard input):11-04 11:37:46.691 19951 19992 I flutter : callData native to dart gettime 1
(standard input):11-04 11:37:46.791 19951 19992 I flutter : callData native to dart gettime 1
(standard input):11-04 11:37:46.892 19951 19992 I flutter : callData native to dart gettime 2
(standard input):11-04 11:37:46.994 19951 19992 I flutter : callData native to dart gettime 4
(standard input):11-04 11:37:47.094 19951 19992 I flutter : callData native to dart gettime 3
(standard input):11-04 11:37:47.193 19951 19992 I flutter : callData native to dart gettime 2
(standard input):11-04 11:37:47.293 19951 19992 I flutter : callData native to dart gettime 3
(standard input):11-04 11:37:47.392 19951 19992 I flutter : callData native to dart gettime 2

@robert-wq : does this mean that in Flutter 1.22 everything is fast (1-4 ms) after a few slow calls in the beginning? The slow ones in the beginning might be expected as there's a lot of work to do during startup.

I have meet the same problem and want to the reason.

The fix here is to use ffi instead of method channels. Upcoming support for ffigen/jnigen will make that even easier on mobile platforms.

authors: cs-robert ilber jonahwilliams lengzds liyuqian pedromassangocode robert-wq


text:
Flutter Slider Label showing strange numbers

The Slider widget is is set to show every integer from 0 to 100, but sliding across sometimes it shows numbers like the image below.
Strange outcomes:

Normal outcome:

Note: All 3 images were taken without reloading the app.
Code:
Slider(      value: _initialValue == null ? 70 : _initialValue,      min: 0,      max: 100,      divisions: 100,      label: '$_initialValue',      onChanged: (value) {          setState(() {                _initialValue = value;             });          }, ),

Hi @atom808
I was able to reproduce the issue on latest master channel.

@atom808  can you please provide your flutter doctor -v?
Thank you
Code
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {

  double value = 0;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text('TextField demo')),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            Slider(
              value: value,
              label: '$value',
              min: 0, max: 100, divisions: 100,
              onChanged: (v) => setState(() => value = v),
            ),
          ],
        ),
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel master, 1.26.0-2.0.pre.295, on Mac OS X 10.15.7 19H2 darwin-x64, locale en)
    • Flutter version 1.26.0-2.0.pre.295 at /Users/pedromassango/Code/flutter_master
    • Framework revision c19fdad097 (11 hours ago), 2021-01-11 22:19:02 -0500
    • Engine revision 0ed964d6b7
    • Dart version 2.12.0 (build 2.12.0-212.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS (Xcode 12.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    ! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.3.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 52.1.5
    • Dart plugin version 203.6912

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.1

[✓] Connected device (3 available)
    • iPhone 12 Pro Max (mobile) • ECCF5C4A-8BEC-411D-B23E-85A836C3847E • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-1 (simulator)
    • macOS (desktop)            • macos                                • darwin-x64     • Mac OS X 10.15.7 19H2 darwin-x64
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 87.0.4280.141

! Doctor found issues in 1 category.

Hi @atom808
I was able to reproduce the issue on latest master channel.

@atom808  can you please provide your flutter doctor -v?
Thank you
Code
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {

  double value = 0;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text('TextField demo')),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            Slider(
              value: value,
              label: '$value',
              min: 0, max: 100, divisions: 100,
              onChanged: (v) => setState(() => value = v),
            ),
          ],
        ),
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel master, 1.26.0-2.0.pre.295, on Mac OS X 10.15.7 19H2 darwin-x64, locale en)
    • Flutter version 1.26.0-2.0.pre.295 at /Users/pedromassango/Code/flutter_master
    • Framework revision c19fdad097 (11 hours ago), 2021-01-11 22:19:02 -0500
    • Engine revision 0ed964d6b7
    • Dart version 2.12.0 (build 2.12.0-212.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS (Xcode 12.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    ! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.3.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 52.1.5
    • Dart plugin version 203.6912

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.1

[✓] Connected device (3 available)
    • iPhone 12 Pro Max (mobile) • ECCF5C4A-8BEC-411D-B23E-85A836C3847E • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-1 (simulator)
    • macOS (desktop)            • macos                                • darwin-x64     • Mac OS X 10.15.7 19H2 darwin-x64
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 87.0.4280.141

! Doctor found issues in 1 category.

Hi @atom808
I was able to reproduce the issue on latest master channel.

@atom808 can you please provide your flutter doctor -v?
Thank you
Code
flutter doctor -v

[√] Flutter (Channel stable, 1.22.5, on Microsoft Windows [versÃ£o 10.0.18363.1256], locale pt-BR)
• Flutter version 1.22.5 at C:\src\flutter
• Framework revision 7891006299 (5 weeks ago), 2020-12-10 11:54:40 -0800
• Engine revision ae90085a84
• Dart version 2.10.4
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at C:\Users\diego\AppData\Local\Android\sdk
• Platform android-30, build-tools 30.0.2
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[!] Android Studio (version 4.1.0)
• Android Studio at C:\Program Files\Android\Android Studio
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[√] VS Code (version 1.52.0)
• VS Code at C:\Users\diego\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.16.0
[√] Connected device (1 available)
• Xiaomi Redmi Note 7 (mobile) • 192.168.51.101:5555 • android-x86 • Android 10 (API 29)
! Doctor found issues in 1 category.

Hi @atom808
I was able to reproduce the issue on latest master channel.

@atom808 can you please provide your flutter doctor -v?
Thank you
Code
flutter doctor -v

[√] Flutter (Channel stable, 1.22.5, on Microsoft Windows [versÃ£o 10.0.18363.1256], locale pt-BR)
• Flutter version 1.22.5 at C:\src\flutter
• Framework revision 7891006299 (5 weeks ago), 2020-12-10 11:54:40 -0800
• Engine revision ae90085a84
• Dart version 2.10.4
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at C:\Users\diego\AppData\Local\Android\sdk
• Platform android-30, build-tools 30.0.2
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[!] Android Studio (version 4.1.0)
• Android Studio at C:\Program Files\Android\Android Studio
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[√] VS Code (version 1.52.0)
• VS Code at C:\Users\diego\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.16.0
[√] Connected device (1 available)
• Xiaomi Redmi Note 7 (mobile) • 192.168.51.101:5555 • android-x86 • Android 10 (API 29)
! Doctor found issues in 1 category.

@pedromassangocode
about the plugins, i don't know why flutter doctor shows they are not installed, but they are and everything have been working fine for months.

@pedromassangocode
about the plugins, i don't know why flutter doctor shows they are not installed, but they are and everything have been working fine for months.

This is unrelated to this issue. You can ignore it, it is just a warning and you can continue to use Flutter without problems.

This is unrelated to this issue. You can ignore it, it is just a warning and you can continue to use Flutter without problems.

This is unrelated to this issue. You can ignore it, it is just a warning and you can continue to use Flutter without problems.

Yes, i just wanted to give more information, sorry.

This is unrelated to this issue. You can ignore it, it is just a warning and you can continue to use Flutter without problems.

Yes, i just wanted to give more information, sorry.

I can confirm that this issue happens on stable channel as well.

flutter doctor -v
/Users/pedromassango/dev/SDKs/flutter_stable/bin/flutter doctor --verbose
[✓] Flutter (Channel stable, 1.22.5, on Mac OS X 10.15.7 19H2 darwin-x64, locale en)
    • Flutter version 1.22.5 at /Users/pedromassango/dev/SDKs/flutter_stable
    • Framework revision 7891006299 (5 weeks ago), 2020-12-10 11:54:40 -0800
    • Engine revision ae90085a84
    • Dart version 2.10.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    • CocoaPods version 1.9.3

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.3.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin installed
    • Dart plugin version 203.6912

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.1

[✓] Connected device (1 available)
    • iPhone 12 Pro Max (mobile) • ECCF5C4A-8BEC-411D-B23E-85A836C3847E • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-1 (simulator)

! Doctor found issues in 1 category.
Process finished with exit code 0

I can confirm that this issue happens on stable channel as well.

flutter doctor -v
/Users/pedromassango/dev/SDKs/flutter_stable/bin/flutter doctor --verbose
[✓] Flutter (Channel stable, 1.22.5, on Mac OS X 10.15.7 19H2 darwin-x64, locale en)
    • Flutter version 1.22.5 at /Users/pedromassango/dev/SDKs/flutter_stable
    • Framework revision 7891006299 (5 weeks ago), 2020-12-10 11:54:40 -0800
    • Engine revision ae90085a84
    • Dart version 2.10.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    • CocoaPods version 1.9.3

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.3.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin installed
    • Dart plugin version 203.6912

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.1

[✓] Connected device (1 available)
    • iPhone 12 Pro Max (mobile) • ECCF5C4A-8BEC-411D-B23E-85A836C3847E • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-1 (simulator)

! Doctor found issues in 1 category.
Process finished with exit code 0

CC @JoseAlba @clocksmith

CC @JoseAlba @clocksmith

Removing the regression label as the issue occurs on stable and master channels.

authors: HansMuller atom808 mamuseferha pedromassangocode


text:
Recover from adb installation issues related to changed app signature

Steps to Reproduce

Have a target Android device with some old app on it
Try to flutter run an app that has a different signature than the existing one

=> All kinds of unhappiness
Uninstalling the app, and then re-running resolved it, but we should be able to handle this / provide a better error.
mit-macbookpro2:hello_world mit$ flutter run -d 00ca05b380789730
Launching lib/main.dart on Nexus 5X in debug mode...
Running 'gradlew assembleDebug'...                    1.6s
Built app-debug.apk (21.8MB).
Installing android/app/build/outputs/apk/app.apk...
Failed to install android/app/build/outputs/apk/app.apk: Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package io.flutter.examples.HelloWorld signatures do not match the previously installed version; ignoring!]
Exception from flutter run: Exit code 1 from: /Users/mit/Library/Android/sdk/platform-tools/adb -s 00ca05b380789730 install -r android/app/build/outputs/apk/app.apk
package:flutter_tools/src/base/process.dart 241            _runWithLoggingSync
package:flutter_tools/src/base/process.dart 165            runCheckedSync
package:flutter_tools/src/android/android_device.dart 234  AndroidDevice.installApp
package:flutter_tools/src/android/android_device.dart 301  AndroidDevice.startApp.<async>
dart:async                                                 _SyncCompleter.complete
package:flutter_tools/src/commands/build_apk.dart 620      buildApk.<async>
dart:async                                                 _SyncCompleter.complete
package:flutter_tools/src/android/gradle.dart 247          buildGradleProjectV2.<async>
dart:async                                                 _SyncCompleter.complete
package:flutter_tools/src/base/process.dart 113            runCommandAndStreamOutput.<async>
===== asynchronous gap ===========================
dart:async                                                 _Completer.completeError
package:flutter_tools/src/android/android_device.dart 386  AndroidDevice.startApp.<async>
dart:async                                                 _SyncCompleter.complete
package:flutter_tools/src/commands/build_apk.dart 620      buildApk.<async>
dart:async                                                 _SyncCompleter.complete
package:flutter_tools/src/android/gradle.dart 247          buildGradleProjectV2.<async>
dart:async                                                 _SyncCompleter.complete
package:flutter_tools/src/base/process.dart 113            runCommandAndStreamOutput.<async>
===== asynchronous gap ===========================
dart:async                                                 _asyncThenWrapperHelper
package:flutter_tools/src/android/android_device.dart      AndroidDevice.startApp
package:flutter_tools/src/run_hot.dart 160                 HotRunner._run.<async>
dart:async                                                 _SyncCompleter.complete
package:flutter_tools/src/resident_runner.dart 184         ResidentRunner.startEchoingDeviceLog.<async>
===== asynchronous gap ===========================
dart:async                                                 _asyncThenWrapperHelper
package:flutter_tools/src/run_hot.dart                     HotRunner._run
package:flutter_tools/src/run_hot.dart 77                  HotRunner.run.<fn>
package:stack_trace                                        Chain.capture
package:flutter_tools/src/run_hot.dart 76                  HotRunner.run
package:flutter_tools/src/commands/run.dart 278            RunCommand.runCommand.<async>

cc @jakobr-google


text:
Unable to automatically format the date input in showDatePicker()

I am unable to use the type-in keyboard in the show dialog for the date picker that flutter provides out of the box.

Create a button to show the flutter date picker
Press the edit button.
The keyboard that gets shown does not show the slash "/" key for me to separate the inputs of date/month/year, so it's impossible to easily type the date rather than using the picker.

Expected results:
For the keyboard to include the slash button or for the input to automatically format with slashes along as I type.
Actual results:
The keyboard does not include the slash and the input does not automatically format.

class DateTextFormatter extends TextInputFormatter {
  static const _maxChars = 8;

  @override
  TextEditingValue formatEditUpdate(
      TextEditingValue oldValue, TextEditingValue newValue) {
    var text = _format(newValue.text, '/');
    return newValue.copyWith(text: text, selection: updateCursorPosition(text));
  }

  String _format(String value, String seperator) {
    value = value.replaceAll(seperator, '');
    var newString = '';

    for (int i = 0; i < min(value.length, _maxChars); i++) {
      newString += value[i];
      if ((i == 1 || i == 3) && i != value.length - 1) {
        newString += seperator;
      }
    }

    return newString;
  }

  TextSelection updateCursorPosition(String text) {
    return TextSelection.fromPosition(TextPosition(offset: text.length));
  }
}

Please try out this solution

source:
https://stackoverflow.com/questions/47403758/flutter-inputformatter-for-date

This is a date dialog that is provided out of the box from Flutter.
I don't think that there is the option to add an input formatter. It would need to be added to the widget itself.

This is a date dialog that is provided out of the box from Flutter.
I don't think that there is the option to add an input formatter. It would need to be added to the widget itself.

I understand well the only other way to allow the user to input a "/" is to convert the numerical keypad to a normal keypad and afterward apply validation rules to the input so that the user can only enter the following characters. Another way is to make that field a button and let the user choose the date from the calendar.

The validation is all taken care of by the widget itself, and the keyboard type is also taken care of by Flutter itself. This needs to be changed by Flutter and there is nothing I can do about it.


text:
[tool_crash] StateError: Bad state: No context with the running Dart application.

Command
flutter --no-color run --machine --track-widget-creation --device-id=chrome --start-paused --dart-define=flutter.inspector.structuredErrors=true lib\main.dart

Steps to Reproduce

...
...
...

Logs
StateError: Bad state: No context with the running Dart application.
#0      RemoteDebuggerExecutionContext.id (package:dwds/src/debugging/execution_context.dart:55:7)
<asynchronous suspension>
#1      AppInspector._getExtensionRpcs (package:dwds/src/debugging/inspector.dart:501:20)
<asynchronous suspension>
#2      AppInspector._initialize (package:dwds/src/debugging/inspector.dart:93:34)
<asynchronous suspension>
#3      AppInspector.initialize (package:dwds/src/debugging/inspector.dart:156:5)
<asynchronous suspension>
#4      ChromeProxyService.createIsolate (package:dwds/src/services/chrome_proxy_service.dart:222:18)
<asynchronous suspension>

[✓] Flutter (Channel stable, 2.2.3, on Microsoft Windows [Version 10.0.19041.508], locale en-IN)
    • Flutter version 2.2.3 at C:\src\flutter
    • Framework revision f4abaa0735 (3 months ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\admin\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Android Studio (version 4.1.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] IntelliJ IDEA Community Edition (version 2021.2)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2021.2
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.60.1)
    • VS Code at C:\Users\admin\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.26.0

[✓] Connected device (2 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 93.0.4577.82
    • Edge (web)   • edge   • web-javascript • Microsoft Edge 93.0.961.52

• No issues found!

Flutter Application Metadata
Type: app
Version: 1.0.0+1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: stable
Creation framework version: f4abaa0735eba4dfd8f33f73363911d63931fe03

Hi @Nav21000,
You appear to be on an older version of flutter stable.
Can you please upgrade to the latest version of stable and see if you still experience this issue?
If you do, please provide your verbose logs and if the verbose logs are to huge, put them in a log.txt file and share them here.
Thank you


text:
[in_app_purchase] codelab docs must be updated.

We can't complete the step number 4 of the  In_App_Purchase Codelab, because the project doesn't have the in_app_purchase dependency added yet, so on the play store we can't create the In-app products and/or the subscriptions because the apk/app bundle doesn't the billing permission, which is added only on the step 6.
Quoting the message on the play store: "Your app doesn't have any in-app products yet
To add in-app products, you need to add the BILLING permission to your APK".
A suggestion is just to add the in_app_purchase dependency on the initial project (the step_00), then on the step 6 explain their importance.

@reiko-dev we have updated the In App Purchase code lab. Can you read through it again and see if it's clearer for you now?

authors: domesticmouse reiko-dev


text:
Roll Flutter Engine from 3778ef2c579c to 23db554a357f (1 revision)

https://github.com/flutter/engine/compare/3778ef2c579c...23db554a357f
2022-07-21 skia-flutter-autoroll@skia.org Roll Skia from 4cda03a096ac to baba579fa85f (1 revision) (flutter/engine#34801)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jimgraham@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.

source: gharchive/pull-request


text:
Fix crash from invalid ListWheelViewport assertion

Fixes https://github.com/flutter/flutter/issues/126491
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@nt4f04uNd did you say somewhere you would like this to be cherrypicked?

@nt4f04uNd did you say somewhere you would like this to be cherrypicked?

Yeah, I wrote this in the issue. Should I make the CP request issue?

@nt4f04uNd did you say somewhere you would like this to be cherrypicked?

Yeah, I wrote this in the issue. Should I make the CP request issue?

Filed https://github.com/flutter/flutter/issues/126782


text:
Add new hot reload case string

This change is for an internal IDE client to send a custom hot reload request, as custom requests from the client must start with $/.
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above. (this PR is linked internally)
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

CC @christopherfujino


text:
Let iOS have a minimum scroll movement threshold to break before motion starts

Fixes #12181
Mimics native behaviour. Android unaffected.

authors: Hixie xster


text:
Allow onWillAcceptWithDetails and onAcceptWithDetails callbacks in DragTarget to accept null in data field.

List which issues are fixed by this PR. You must list at least one issue.
Fixes: #136412
If you had to change anything in the flutter/tests repo, include a link to the migration guide as per the breaking change policy.
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

BTW the docs test shard is failing here

BTW the docs test shard is failing here

Woops! Sorry about that, made the fix.

It could be that https://github.com/flutter/flutter/pull/133136 is the best way to handle this, by just not calling the callbacks if data is null.

After conferring with folks on this, I think we confirmed non-nullable data is intentional. The other PR (https://github.com/flutter/flutter/pull/133136) eliminates the crash by just not calling the callbacks when data is null. I think we should close this PR then, since we cannot change data to be null, or the function signature to take null details.

(Triage): As per the previous comment I am going to close this. Thanks you!

authors: Piinks chinmoy12c goderbauer


text:
Roll Flutter Engine from 0b0fab821536 to 636b12c4e3e9 (1 revision)

https://github.com/flutter/engine/compare/0b0fab821536...636b12c4e3e9
2023-12-14 chingjun@google.com Suppress warning for the new Activity library. (flutter/engine#49046)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jsimmons@google.com,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


text:
Roll Packages from f7b12561aeb6 to 687c8a5038c3 (6 revisions)

https://github.com/flutter/packages/compare/f7b12561aeb6...687c8a5038c3
2024-08-12 49699333+dependabot[bot]@users.noreply.github.com [pigeon]: Bump org.jetbrains.kotlin:kotlin-gradle-plugin from 2.0.0 to 2.0.10 in /packages/pigeon/platform_tests/test_plugin/android (flutter/packages#7370)
2024-08-12 fertrig@gmail.com [shared_preferences] Fixes get-all when suite name is used (flutter/packages#7335)
2024-08-12 mhvdijk@gmail.com [flutter_adaptive_scaffold] Add expanded and extra large breakpoints (flutter/packages#7300)
2024-08-12 engine-flutter-autoroll@skia.org Manual roll Flutter from b12d86157e38 to 9b8470197f42 (8 revisions) (flutter/packages#7366)
2024-08-10 engine-flutter-autoroll@skia.org Manual roll Flutter from 76107bdf509f to b12d86157e38 (14 revisions) (flutter/packages#7358)
2024-08-09 tarrinneal@gmail.com [shared_preferences] fix cast error and mutable list error with getStringList (flutter/packages#7355)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC flutter-ecosystem@google.com,rmistry@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


text:
Fix misspelling in tab description

Actual text: "Tab 2 of $3"
Expected text: "Tab 2 of 3"
Screenshot presenting issue:

NICE!
LGTM

I'm going to land this PR. Thanks again for the fix!

authors: HansMuller maszin


text:
Fixed typos

Here's another one of my PRs where I hunt for typos across flutter repo.
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[ ] I listed at least one issue that this PR fixes in the description above.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

Looks like a merge conflict popped up: @anisalibegic if you could resolve it that'd be awesome, otherwise I'd be happy to.

@nate-thegrate I have fixed all conflicts.

authors: anisalibegic nate-thegrate


text:
Fix broken asset uris

Asset URIs are not supposed to begin with a slash. Perhaps we should relax that requirement but for now let's fix gallery.

I discovered this during a Google roll. The scuba test failed showing the missing logo.

@HansMuller Should we be more forgiving on the URL format?

Did all of the images named with  /foo URLs not actually show up? That would have put the gallery in rather worse shape then I would have expected.
I'm not sure if we ascribe any specific meaning to a leading slash; if not perhaps we should be more forgiving.

This is not necessary for iOS but is necessary for Android. So removing the / is correct.

In other words, if we'd manually checked the gallery on Android, we would have noticed that there was something amiss.
In the future, we're going to need to create a golden image test for the gallery. I'll file an issue
On Monday.

Yes. I definitely made a mistake by only testing on iOS.

If this is confession, I've been only testing on Android for years. Tell no one 😳

authors: HansMuller mehmetf willlarche


text:
Roll engine 219bf5938752..5460926c06d6 (2 commits)

https://github.com/flutter/engine/compare/219bf5938752...5460926c06d6
git log 219bf5938752e0030b491565af1910c137b83dd8..5460926c06d6088803e4edeaad190e272212540d --no-merges --oneline
5460926c0 Roll src/third_party/dart 9814cb1b9c..896f1c4bb9 (4 commits)
694fc5677 Build windows engine on GCE (flutter/engine#8442)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (chinmaygarde@google.com), and stop
the roller if necessary.

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/4722663355318272

Commit queue failed; closing this roll.


text:
[decoration_image] try to fix performance issues

Description
When image cache full,  _details.image.resolve(configuration) can not return correct key, and always load image, this make lose frame.

Thank you for the work you've done here.
Unfortunately, in its current state, we cannot review this PR.  Please follow the instructions in the PR template - make sure you have signed the CLA, opened an issue (or linked an issue) that discusses this change, added appropriate tests, and ensured you're following the style guide as best you can.
Please feel free to open an issue to discuss this if one isn't already open!  And please feel free to re-open this PR if you address these comments (signed CLA, completed PR template, tests for new/changed functionality).

authors: dnfield panchangpeng


text:
Roll engine ff49ca1c6e5b..4099cb14683f (25 commits)

git@github.com:flutter/engine.git/compare/ff49ca1c6e5b...4099cb14683f
git log ff49ca1c6e5b..4099cb14683f --no-merges --oneline
2019-08-11 skia-flutter-autoroll@skia.org Roll src/third_party/skia 5e7271a4598e..9c23a9e790b2 (1 commits) (flutter/engine#10838)
2019-08-11 skia-flutter-autoroll@skia.org Roll src/third_party/skia 3e7fa79f2c79..5e7271a4598e (1 commits) (flutter/engine#10827)
2019-08-10 skia-flutter-autoroll@skia.org Roll fuchsia/sdk/core/linux-amd64 from bvUCO... to xqsy5... (flutter/engine#10826)
2019-08-10 skia-flutter-autoroll@skia.org Roll src/third_party/skia 89e43889afd9..3e7fa79f2c79 (1 commits) (flutter/engine#10825)
2019-08-10 skia-flutter-autoroll@skia.org Roll src/third_party/skia fe19203eb7d7..89e43889afd9 (1 commits) (flutter/engine#10824)
2019-08-10 skia-flutter-autoroll@skia.org Roll fuchsia/sdk/core/linux-amd64 from HsuAH... to bvUCO... (flutter/engine#10822)
2019-08-10 bkonyi@google.com Roll src/third_party/dart ffefa124a7..e29d6d0ecb (4 commits)
2019-08-10 skia-flutter-autoroll@skia.org Roll src/third_party/skia af89d3972e0b..fe19203eb7d7 (5 commits) (flutter/engine#10819)
2019-08-10 bkonyi@google.com Roll src/third_party/dart 15a3bf82cb..ffefa124a7 (11 commits)
2019-08-09 chris@bracken.jp Roll Dart SDK 78ce916d82..15a3bf82cb (flutter/engine#10810)
2019-08-09 skia-flutter-autoroll@skia.org Roll src/third_party/skia b7b0b3ad538c..af89d3972e0b (7 commits) (flutter/engine#10812)
2019-08-09 jonahwilliams@google.com Revert "Remove flutter_kernel_sdk dart script (#10808)" (flutter/engine#10811)
2019-08-09 iska.kaushik@gmail.com [dart:zircon] Porting Cache re-usable handle wait objects (flutter/engine#10809)
2019-08-09 jonahwilliams@google.com Remove flutter_kernel_sdk dart script (flutter/engine#10808)
2019-08-09 cfontas@google.com change add part to add child (flutter/engine#10787)
2019-08-09 yjbanov@google.com rename stub_ui to web_ui (flutter/engine#10776)
2019-08-09 kpozin@google.com [fuchsia] Migrate from custom FuchsiaFontManager to SkFontMgr_fuchsia (flutter/engine#10700)
2019-08-09 skia-flutter-autoroll@skia.org Roll src/third_party/skia 26cedb4c603b..b7b0b3ad538c (11 commits) (flutter/engine#10807)
2019-08-09 egarciad@google.com Rename flutter_java.jar and flutter_engine.jar so they match the Maven comvention (flutter/engine#10797)
2019-08-09 skia-flutter-autoroll@skia.org Roll fuchsia/sdk/core/linux-amd64 from 9xVXx... to HsuAH... (flutter/engine#10806)
2019-08-09 bkonyi@google.com Roll src/third_party/dart 3d9a356f6e..78ce916d82 (7 commits)
2019-08-09 skia-flutter-autoroll@skia.org Roll src/third_party/skia b2151310068b..26cedb4c603b (1 commits) (flutter/engine#10804)
2019-08-09 skia-flutter-autoroll@skia.org Roll src/third_party/skia 059bf776c184..b2151310068b (3 commits) (flutter/engine#10803)
2019-08-09 bkonyi@google.com Roll src/third_party/dart f29f41f1a5..3d9a356f6e (65 commits)
2019-08-09 skia-flutter-autoroll@skia.org Roll src/third_party/skia 4d557e3df433..059bf776c184 (1 commits) (flutter/engine#10801)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (jimgraham@google.com), and stop
the roller if necessary.

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/5939154678972416

Commit queue failed; closing this roll.


text:
Roll engine 500f9cedf652..995c4a786608 (7 commits)

https://github.com/flutter/engine/compare/500f9cedf652...995c4a786608
git log 500f9cedf652..995c4a786608 --first-parent --oneline
2019-12-18 skia-flutter-autoroll@skia.org Roll src/third_party/dart 8a4cac1ddb14..b6e051e2c87a (2 commits) (flutter/engine#14545)
2019-12-18 a-siva@users.noreply.github.com Manual roll of Dart to revision 8a4cac1ddb141d4a1e395f6e0a7d5bbf2247eb63 (flutter/engine#14542)
2019-12-18 50856934+nturgut@users.noreply.github.com Calling onConnectionClosed when the input element is blurred (flutter/engine#14484)
2019-12-17 skia-flutter-autoroll@skia.org Roll src/third_party/dart f10fa3df28a8..44da51fc720d (20 commits) (flutter/engine#14533)
2019-12-17 skia-flutter-autoroll@skia.org Roll src/third_party/skia cbeabd969bbe..3794db84e141 (8 commits) (flutter/engine#14532)
2019-12-17 garyq@google.com Rename 'test_vsync_waiters' to 'vsync_waiters_test' for consistency. (flutter/engine#14519)
2019-12-17 skia-flutter-autoroll@skia.org Roll src/third_party/skia fdb2b7d53038..cbeabd969bbe (1 commits) (flutter/engine#14530)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jsimmons@google.com on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Trybots failed. These were the failed builds: https://github.com/flutter/flutter/runs/353934378

Commit queue failed; closing this roll.


text:
implement flutter format

fixes https://github.com/flutter/flutter/issues/5338
@devoncarew

lgtm

FYI @Hixie

authors: danrubel devoncarew eseidelGoogle


text:
Roll Engine from a974b78117dc to 8505594b3a84 (3 revisions)

https://github.com/flutter/engine/compare/a974b78117dc...8505594b3a84
2020-06-30 skia-flutter-autoroll@skia.org Roll Skia from 3a54b68cb436 to eb1a9106b40b (2 revisions) (flutter/engine#19404)
2020-06-30 skia-flutter-autoroll@skia.org Roll Dart SDK from f91547d6dd45 to 019755f77bdc (20 revisions) (flutter/engine#19403)
2020-06-30 skia-flutter-autoroll@skia.org Roll Fuchsia Mac SDK from SuveI... to zbrla... (flutter/engine#19401)
Also rolling transitive DEPS:
fuchsia/sdk/core/mac-amd64 from SuveIis7aHH0 to zbrlawm7OM0M
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC aaclarke@google.com on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Commit queue failed; closing this roll.


text:
Add a comment with a reference to issue 62919

Add a comment with a reference to issue #62919 (LUCI should run the tests in a directory that contains a space character) to this skipped test.

I reached out to the Firebase test lab slack channel as suggested in the error message, haven't heard anything helpful yet.

cc @godofredoc for review


text:
Fix diagrams for FloatingActionButtonLocations

Description
This is a simple doc fix
The diagrams were not being rendered due to the bullet pointed list, so I have separated them.
See https://master-api.flutter.dev/flutter/material/FloatingActionButtonLocation-class.html

Looks like someone already patched this https://github.com/flutter/flutter/pull/71378


text:
Merge pull request 2020-12-23

updata
Description
Replace this paragraph with a description of what this PR is doing. If you're modifying existing behavior, describe the existing behavior, how this PR is changing it, and what motivated the change. If you're changing visual properties, consider including before/after screenshots (and runnable code snippets to reproduce them).
Related Issues
Replace this paragraph with a list of issues related to this PR from our issue database. Indicate, which of these issues are resolved or fixed by this PR. There should be at least one issue listed here.
Tests
I added the following tests:
Replace this with a list of the tests that you added as part of this PR. A change in behavior with no test covering it
will likely get reverted accidentally sooner or later. PRs must include tests for all changed/updated/fixed behaviors. See Test Coverage.
Checklist
Before you create this PR, confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[ ] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[ ] I signed the CLA.
[ ] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[ ] I read the Tree Hygiene wiki page, which explains my responsibilities.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] All existing and new tests are passing.
[ ] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[ ] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[ ] No, no existing tests failed, so this is not a breaking change.
[ ] Yes, this is a breaking change. If not, delete the remainder of this section.

[ ] I wrote a design doc: https://flutter.dev/go/template Replace this with a link to your design doc's short link
[ ] I got input from the developer relations team, specifically from: Replace with the names of who gave advice
[ ] I wrote a migration guide: https://flutter.dev/go/breaking-changes-template Replace this with a link to a pull request that adds the migration guide to https://flutter.dev/docs/release/breaking-changes

Closing as this looks like it was opened by mistake.

Closing as this looks like it was opened by mistake.

authors: goderbauer kim-king-rong


text:
Roll Engine from 82051afcc6cd to aa66ad46d484 (1 revision)

https://github.com/flutter/engine/compare/82051afcc6cd...aa66ad46d484
2021-03-16 iska.kaushik@gmail.com [macos] [metal] Fix use after free in FlutterExternalTextureMetal (flutter/engine#24995)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC chinmaygarde@google.com on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Commit queue failed; closing this roll.


text:
Add rootOverlay and hitTestBehavior flags to LongPressDraggable

Adds a rootOverlay boolean and hitTestBehavior HitTestBehavior value to LongPressDraggable and passes them to Draggable (its parent class)
Fixes https://github.com/flutter/flutter/issues/78443
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt. (Asked Hixie about the test, waiting for the answer)
[x] All existing and new tests are passing.

Hi @salihgueler thanks for the contribution! It looks like this is causing some test failures, and it will need a test to verify that it works as expected. Tests also ensure we don't un-do your change in the future. :)

Hi @Piinks thanks for the quick feedback! I will add some tests to it and write here afterwards then. 👍

@Piinks I added tests and only flutter-build is failing which is something independent from me (I guess). Looking forward to your feedback on the PR!

@salihgueler do you still have plans to come back to this?

Hi @goderbauer I will do it this weekend :)

(PR triage) Since there hasn't been any recent update on this PR I am going to close it for now. Feel free to reopen it if you find the time to work on this again. Thanks!
I believe all that's left to do is to add some tests that actually verify that the flags do what they are supposed to do (and not just assert that they are set to the expected value).

authors: goderbauer salihgueler


text:
Roll Engine from a9efb963de52 to 55083733ce36 (12 revisions)

https://github.com/flutter/engine/compare/a9efb963de52...55083733ce36
2021-08-25 skia-flutter-autoroll@skia.org Roll Clang Linux from cIFYQ49sp... to dO8igrHyL... (flutter/engine#28289)
2021-08-25 skia-flutter-autoroll@skia.org Roll Clang Mac from T2LfgbJBs... to XvHmkqWWH... (flutter/engine#28288)
2021-08-25 jmccandless@google.com hasStrings on Windows (flutter/engine#27749)
2021-08-24 jason-simmons@users.noreply.github.com Roll buildroot to 14b15b2e8adf3365e5e924c9186f5d65d1d65b99 (flutter/engine#28286)
2021-08-24 skia-flutter-autoroll@skia.org Roll Skia from e43714f490ec to 7b3edfa65923 (1 revision) (flutter/engine#28285)
2021-08-24 skia-flutter-autoroll@skia.org Roll Dart SDK from 72f462ed2d34 to 35c81c55d91f (1 revision) (flutter/engine#28284)
2021-08-24 skia-flutter-autoroll@skia.org Roll Skia from 877858a19502 to e43714f490ec (6 revisions) (flutter/engine#28283)
2021-08-24 chris@bracken.jp Eliminate unnecessary null check in fixture (flutter/engine#28281)
2021-08-24 skia-flutter-autoroll@skia.org Roll Skia from 6f90c702e6c8 to 877858a19502 (2 revisions) (flutter/engine#28282)
2021-08-24 31977171+ColdPaleLight@users.noreply.github.com Correct the return value of the method RunInIsolateScope (flutter/engine#28161)
2021-08-24 skia-flutter-autoroll@skia.org Roll Skia from 0f36d11c1dcf to 6f90c702e6c8 (4 revisions) (flutter/engine#28280)
2021-08-24 skia-flutter-autoroll@skia.org Roll Dart SDK from abecc4bc4521 to 72f462ed2d34 (6 revisions) (flutter/engine#28279)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC cbracken@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


text:
[integration_test] Update README installation instructions

integration_test has moved into the Flutter SDK at flutter/packages/integration_test.  However, the "old instructions" iOS Device Testing instructions are wrong, which is confusing users who find the README through a Google search.
Update the README to match the instructions in https://github.com/flutter/flutter/tree/master/packages/integration_test#ios-device-testing.  This is not for pub publication so won't update https://pub.dev/packages/integration_test instructions.
https://github.com/flutter/flutter/issues/72876
Pre-launch Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I read and followed the [relevant style guides] and ran [the auto-formatter]. (Note that unlike the flutter/flutter repo, the flutter/plugins repo does use dart format.)
[x] I signed the [CLA].
[x] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[x] I listed at least one issue that this PR fixes in the description above.
[ ] I updated pubspec.yaml with an appropriate new version according to the [pub versioning philosophy].
[ ] I updated CHANGELOG.md to add a description of the change.
[x] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test exempt.
[x] All existing and new tests are passing.

If we're concerned about people finding outdated instructions, don't we want to publish this to pub, so there are fewer copies that are wrong?

I would need to resurrect the old code to publish to pub, do we want that?

We're unlikely to remember to keep updating this; if these are actively confusing, how about we just remove everything but the deprecation notice (and publish that) so there's only one copy going forward?

That makes more sense.  I can update this README to point to a link to https://github.com/flutter/flutter/tree/master/packages/integration_test.

I would need to resurrect the old code to publish to pub, do we want that?

Oops, I forgot I deleted it.
Let's start with just changing this copy then, and if we see evidence people are being confused by the pub.dev copy we can update the README on a branch that's split off from just before I removed the code, and publish from that.

authors: jmagman stuartmorgan

repo: flutter/plugins


text:
Add go_router_prototype snippets to routing usability scenario code

This adds code snippets using thego_router_prototype package. This package is a prototype that implements the proposed changes to go_router described in docs.flutter.dev/go/go-router-improvements.

I checked the behaviors of the demos. Everything was fine except running into an exception after pressing the "Create a new Wishlist" in the dynamic linking demo. I was on Flutter 3.0.0 (stable) and ran the demo in Chrome.
Restarted application in 95ms.
══╡ EXCEPTION CAUGHT BY GESTURE ╞═══════════════════════════════════════════════════════════════════
The following message was thrown while handling a gesture:
No RouteState in scope!
When the exception was thrown, this was the stack:
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 251:49            throw_
packages/go_router_prototype/src/state.dart 128:67                                      of
packages/scenario_code/dynamic-linking/dynamic_linking_go_router_prototype.dart 40:28   onCreate
packages/scenario_code/dynamic-linking/dynamic_linking_go_router_prototype.dart 116:25  <fn>
packages/flutter/src/material/ink_well.dart 1005:21                                     [_handleTap]
packages/flutter/src/gestures/recognizer.dart 198:24                                    invokeCallback
packages/flutter/src/gestures/tap.dart 613:48                                           handleTapUp
packages/flutter/src/gestures/tap.dart 298:5                                            [_checkUp]
packages/flutter/src/gestures/tap.dart 232:7                                            handlePrimaryPointer
packages/flutter/src/gestures/recognizer.dart 563:9                                     handleEvent
packages/flutter/src/gestures/pointer_router.dart 94:12                                 [_dispatch]
packages/flutter/src/gestures/pointer_router.dart 139:9                                 <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/linked_hash_map.dart 21:13                forEach
packages/flutter/src/gestures/pointer_router.dart 137:17                                [_dispatchEventToRoutes]
packages/flutter/src/gestures/pointer_router.dart 123:7                                 route
packages/flutter/src/gestures/binding.dart 445:19                                       handleEvent
packages/flutter/src/gestures/binding.dart 425:14                                       dispatchEvent
packages/flutter/src/rendering/binding.dart 329:11                                      dispatchEvent
packages/flutter/src/gestures/binding.dart 380:7                                        [_handlePointerEventImmediately]
packages/flutter/src/gestures/binding.dart 344:5                                        handlePointerEvent
packages/flutter/src/gestures/binding.dart 302:7                                        [_flushPointerEventQueue]
packages/flutter/src/gestures/binding.dart 285:32                                       [_handlePointerDataPacket]
lib/_engine/engine/platform_dispatcher.dart 1105:13                                     invoke1
lib/_engine/engine/platform_dispatcher.dart 185:5                                       invokeOnPointerDataPacket
lib/_engine/engine/pointer_binding.dart 130:39                                          [_onPointerData]
lib/_engine/engine/pointer_binding.dart 543:18                                          <fn>
lib/_engine/engine/pointer_binding.dart 496:21                                          <fn>
lib/_engine/engine/pointer_binding.dart 210:16                                          loggedHandler
Handler: "onTap"
Recognizer:
  TapGestureRecognizer#340d5
════════════════════════════════════════════════════════════════════════════════════════════════════

I verified that the behavior of the demos matched the implementation using Router. However, I don't know enough about go_router to actually review the code. Could you request a review from an engineer on the team or someone who's familiar with go_router from the community? It's also find to land it as is, since it's not for production.

@johnpryan I did a first pass. Overall it looks good! I left a few nitpicks and a bunch of questions since I'm still ramping up. Feel free to ping me when you're ready for me to take another look!

authors: InMatrix johnpryan loic-sharma

repo: flutter/uxr

license_source: bigquery


text:
onReceiveProgress

回掉里的total返回的是-1

@jinjilynn how you resolve this issue? i m getting the same -1. Can you please share you solution.

authors: arbazKnarkz jinjilynn

repo: flutterchina/dio

license: MIT


text:
Transformer 中对json对象生成的兼容问题

fastjson对于Double和Float类型的字段，如果在转为字符串时过长，在序列化的过程中，fastjson会默认将其转化为科学计数法。
对网络返回的json串转换时，如果出现科学计数法的json会抛异常。
/Users/liujie/Library/Flutter/flutter/.pub-cache/hosted/pub.flutter-io.cn/dio-1.0.6/lib/src/transformer.dart:105
异常内容：
Launching lib/main.dart on iPhone XS Max in debug mode...
Starting Xcode build...
Xcode build done.                                            4.0s
Syncing files to device iPhone XS Max...
[VERBOSE-2:shell.cc(182)] Dart Error: Unhandled exception:
DioError [DioErrorType.DEFAULT]: FormatException: Unexpected character (at character 1242)
...,"labelCn":"广西","latitude":23.673975D,"longitude":108.333555D,"parentDis...
^
#0      _rootHandleUncaughtError. (dart:async/zone.dart:1112:29)
#1      _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#2      _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)

由于json.encode不支持，所有不行，除非自己实现一个encode.


text:
Missing \ in line number 137 in Dockerfile - Causing build issue.

ElasticSearch
&& wget https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/${ELASTICSEARCH_VERSION}/elasticsearch-${ELASTICSEARCH_VERSION}.tar.gz \
&& wget http://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-${ELASTICSEARCH_VERSION}.tar.gz
&& tar xvzf elasticsearch-${ELASTICSEARCH_VERSION}.tar.gz
&& rm elasticsearch-${ELASTICSEARCH_VERSION}.tar.gz \

fixed

authors: Jayaradha cfregly

repo: fluxcapacitor/pipeline


text:
Treat quoted values as string when targetPath is set

When the values contain quoted strings, use ParseIntoString to enforce they are set as strings.
This allows a similar behavior with CLI --set-string.

Thank you for your contribution! 🍍
Would you be able to add at least one test to
https://github.com/fluxcd/helm-controller/blob/961856236f57fd41e9520c3e9ce8aad52611b0b7/controllers/helmrelease_controller_test.go#L37
to confirm that what you are adding here does work properly?

Sure. Done.

repo: fluxcd/helm-controller


text:
Using "managedByLabel" metadata in kustomization generates invalid label values

Good day,
I am using the following fluxcd controller versions:
helm-controller: v0.35.0
image-automation-controller: v0.35.0
image-reflector-controller: v0.29.1
kustomize-controller: v1.0.1
notification-controller: v1.0.0
source-controller: v1.0.1

kustomize controller image:
    Image:         ghcr.io/fluxcd/kustomize-controller:v1.0.1
    Image ID:      ghcr.io/fluxcd/kustomize-controller@sha256:2a6121279b6ca45b2395416fd27a187736d6f75c6abd386af539d7144f3d4c0f

My kustomization looks like this:
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

namespace: kube-system
buildMetadata: [managedByLabel,originAnnotations]

resources:
  - ../../base/storage-classes

With the kustomize-controller: v1.0.1 the following labels are generated by the kustomize controller:
  labels:
    app.kubernetes.io/managed-by:  kustomize-(devel)

Unfortunately, kustomize-(devel) is not an allowed value for a Kubernetes value, see: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set
This is also reflected by the Kubernetes event in the parent kustomization:
  Warning  ReconciliationFailed     4m40s (x12 over 54m)    kustomize-controller  Namespace/cert-manager dry-run failed, reason: Invalid: Namespace "cert-manager" is invalid: metadata.labels: Invalid value: "kustomize-(devel)": a valid label must be an empty string or consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyValue',  or 'my_value',  or '12345', regex used for validation is '(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?')

Is this a known issue and can I do anything else apart from removing the managedByLabel from kustomize?
Thanks and best regards,
Florian.

Using managedByLabel is not supported, it's not kustomize who is managing the resources, but Flux. And Flux adds it's own labels to track ownership.

Thanks for the lightning fast response, in this case I'll just ditch the labels :)

authors: fbuchmeier-abi stefanprodan

repo: fluxcd/kustomize-controller


text:
Facebook error

canOpenURL: failed for URL: "fb://profile/MY_FACEBOOK_ID" - error: "This app is not allowed to query for scheme fb"
Also on another subject are there any plans to add linkedin and instagram links handling?

You might have to add LSApplicationQueriesSchemes with the value Facebook to it.
I will see what I can do regarding LinkedIn and Instagram.

I updated the readme to reflect the above issue.

Target
Query Scheme

Facebook
fb

Instagram
instagram

Twitter
twitter

LinkedIn
linkedin

WhatsApp
whatsapp

authors: flyandi kapsona

repo: flyandi/react-native-openanything

license: mit


text:
Process.chdir impacts code outside of Fly

I wrote a library that basically allows integration of web extensions within other web extensions and handles the heavy lifting of merging the child extensions into the parent. The first child extension to leverage this uses Fly and fly uses process.chdir, but never reverts it once its work is done. This impacts other code that expects process.cwd to remain correct.
There are two options that spring to mind. One retain a reference to the original process.cwd and switch back after tasks are ran. Two future don't change cwd, but pass along "cwd of fly" to code that requires it.

@bucaran Wtf does "++" mean? These new labels are SO jarring. Caps for the loss 💀

Changed enhancement for ++. What do you want to call i? (Other than enhancement.)

@bucaran imo, (please) leave everything lowercase. And ++ ==> feature, ? ==> maybe

@lukeed Sorry, I missed your reply. I'm fine with your name changes. I kinda like the names in uppercase, but you can make them lowercase if you prefer. 🙇

@lukeed What was the original purpose of process.chdir? I can't see any code dependent on process.cwd.

@hzlmn I think it was to stay true to the this.root value, so that pathing & targeting worked correctly. Tbh, I'm not sure if it's still doing anything useful.

authors: Akkuma bucaran hzlmn lukeed

repo: flyjs/fly


text:
Minor package.json fix

semicolon: true

is default in xo, so there is no need to reassign it.

Thanks 👍

@lukeed  no problems, sorry have not much time to view all updates that comes with v2 . Will be more active soon 🖖

No worries! Not a requirement or anything 😀

authors: hzlmn lukeed


text:
Flynn layer1 can't start normally

Help~
When I execute the command "CLUSTER_DOMAIN=demo.localflynn.com flynn-host bootstrap /etc/flynn/bootstrap-manifest.json" to start flynn layer 1, it show me the fllowing messages:
check online-hosts
check online-hosts error: Get http://127.0.0.1:1111/services/flynn-host: dial tcp 127.0.0.1:1111: connection refuesed
The flynn layer0 has started, but when I execute "flynn-host ps", it also show me the wrong message "host.go:130: Get http://127.0.0.1:1111/services/flynn-host: dial tcp 127.0.0.1:1111: connection refuesed"

@xubenling0918 please run flynn-host collect-debug-info to upload logs and system information to a gist, then post the gist link here so we can take a look.

I'm seeing a similar issue.
https://gist.github.com/6f94c51d07ab8b9005ef

@lmars @JohnyMoSwag Thanks for your answers sincerely. I redeployed a new virtual machine in virtualbox and repeated the installation steps, then it worked. It seems that the problem comes from my virtual machine.

authors: JohnyMoSwag lmars xubenling0918

repo: flynn/flynn


text:
use partially applied terms and formulas

This is the idea with partially applied terms I mentioned today.

Also, I changed the semantics of substitution: if you substitute t for var n, all variables above level n are reduced by 1. In my type theory formalization that was necessary to formulate the following rule:
Γ, x : A, Δ ⊢ t : T and Γ ⊢ a : A implies Γ, Δ[a/x] ⊢ t[a/x] : T[a/x]
(in that formalization, the lowest free variable corresponds to the last term in context, etc.)
I don't know if this is necessary to do in first-order logic.

I think the substitution rule is moot in FOL... nothing is interestingly typed, right?
The substitution semantics conflict with a shortcut I'm using right now for model theory, but I'm on the fence about it:
var n 1 corresponds to the function λx.λy.y, or projection onto the second component.

The substitution rule above is indeed not necessary, but you still want the following simpler substitution rule: if Γ ⊢ φ then Γ[t/x] ⊢ φ[t/x].
I don't know whether it will matter for you how the free variables are ordered. If you don't subtract by 1, there is one variable that you don't use at all, but maybe that will not matter at all for you.
It's probably good to stick with the easier definition for now, and see if that leads to any problems.

Thanks, Floris!
We indeed need a rule which says we can instantiate a universally quantified statement at a closed term of the correct arity.

Yes, good point.
I think you do want to use the semantics of substitution I suggested here (i.e. all variables above the substituted variable should be reduced by 1).
Suppose you want to prove that if ∀x, ∀y, φ holds, then ∀x, φ[t/y] holds (with x ∉ FV(t)). If you do that with de Bruijn variables, you will want to make sure that all occurrences var 1 in φ become var 0, to be captured by the quantifier.

authors: AlmostNever flypitch fpvandoorn

repo: flypitch/flypitch


text:
Nominating Rafael Raposo for Collaborator role

Highlighted contributions

GetProject endpoint in FlyteAdmin: https://github.com/flyteorg/flyte/pull/4825
ExecutionClusterLabels https://github.com/flyteorg/flyte/pull/4998
Preserv stack trace in flytekit: https://github.com/flyteorg/flytekit/pull/2056

What repositories do you expect to keep contributing to?

flyte
flytekit

What is the name of your current organization?

Spotify

Any other context that you wish to share?
@RRap0so has also been active on the Contributor's meetups, and their contributions reflect a real interest on improving DX for Flyte users.

+1

Highlighted contributions

GetProject endpoint in FlyteAdmin: https://github.com/flyteorg/flyte/pull/4825

ExecutionClusterLabels https://github.com/flyteorg/flyte/pull/4998

Preserv stack trace in flytekit: https://github.com/flyteorg/flytekit/pull/2056

What repositories do you expect to keep contributing to?

flyte

flytekit

What is the name of your current organization?

Spotify

Any other context that you wish to share?
@RRap0so has also been active on the Contributor's meetups, and their contributions reflect a real interest on improving DX for Flyte users.

+1

+1

Approved!

authors: Future-Outlier davidmirror-ops pingsutw

repo: flyteorg/community


text:
Fix for issue #777 - Neo4j support.

Main changes:

Added support for neo4j migrations.
Included neo4j docker container.
Changed core Flyway.java to get MetaDataTable from DBSupport.
Needed to proxy neo4j library classes so included cglib.
Added MigrationTestCase for neo4j and test structure with cypher.
Changed tests to test resource structure.

Any news on this feature?

Any update on this ?

Thank you for your submission. We cannot merge this at this time as it would need re-implementing in the https://github.com/flyway/flyway-community-db-support repository.

authors: Rffsilva elR1co michaelahlers piers-williams

repo: flyway/flyway


text:
Add some structured VDO's and the capability to send a response to a discover identity VDM

Working on a patch to add some VDOs and a way to reply to discover identity from upstream.

Some of the messages are already in the pdo.rs file from the last stuff I added.  Should I move this to a vdo.rs file?

@bentwire Go for it, unless you think it makes sense to have a shared module, with sibling vdo and pdo modules?

I guess it would depend on the use case.  What would the shared module be named?
BTW I get some activity when I send an ack back to the DiscoverIdentity my laptop sends, so I think at least that works.
I can't send a discover identity to the laptop and get a response however...  Maybe its not supposed to work that way... Still kinda fuzzy on who SOP' SOP'' SOP''' are...  I get good CRC back  though so maybe my laptop just does not support the command...

messages/
    mod.rs
    vdo.rs
    pdo.rs

Hmm, I assumed that would always have a response from the other side. Also not sure about the start of packet tokens, I'll need to re-read the spec.

@fmckeogh  Finally had a chance to do the merge and test your embassy branch.  It seems to work really well if you want to make the change official.
Also let me know where you want the message refactoring I did to go.

@bentwire Yeah for sure, glad it works for you, I burnt out the dev setup so going to try build a new one haha
Does your PR include the merge of the embassy branch? Or would you prefer I merge that in first, then you can rebase your message refactoring on top? I'm happy either way, thanks so much for your work:)

@fmckeogh   The PR I just created is to merge the vdo changes I made with your embassy branch.
I've not rebased anything to main yet.   Was not sure what order you wanted to do.
Hey no problem, its been fun :)

Closed by #12

authors: bentwire fmckeogh

repo: fmckeogh/usb-pd-rs


text:
🛑 Site nxtcATS is down

In 827853e, Site nxtcATS ($SECRET_SITE_4) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Site nxtcATS is back up in 6fd8d82.

repo: fmmaia/fmAtAllUptime


text:
Invoke minimally working

signing off with a PR per usual. this one works with invoke, minimally. tested with plaintext and json:
✗: curl -d '{"eventID":"1234","data":"yo"}' -H "Content-Type: application/cloudevents+json" -v localhost:8080/invoke/01CMCSXPS9180043RZJ0000003
* Uses proxy env variable no_proxy == 'localhost,127.0.0.0,127.0.0.1,127.0.1.1,local.home,github.com,10.0.2.2,*pool.ntp.org,0.0.0.0'
*   Trying ::1...
* TCP_NODELAY set
* Connected to localhost (::1) port 8080 (#0)
> POST /invoke/01CMCSXPS9180043RZJ0000003 HTTP/1.1
> Host: localhost:8080
> User-Agent: curl/7.60.0
> Accept: */*
> Content-Type: application/cloudevents+json
> Content-Length: 30
>
* upload completely sent off: 30 out of 30 bytes
< HTTP/1.1 200 OK
< Content-Length: 256
< Fn_call_id: 01CMCTVB96180043RZJ0000005
< Xxx-Fxlb-Wait: 353.41607ms
< Date: Wed, 08 Aug 2018 13:15:37 GMT
< Content-Type: text/plain; charset=utf-8
<
{"cloudEventsVersion":"","eventID":"1234","source":"","eventType":"","eventTypeVersion":"","eventTime":"2018-08-08T13:15:37.481783016Z","schemaURL":"","contentType":"","extensions":{"protocol":{"status_code":200}},"data":"{\"message\":\"Hello World\"}\n"}

we need to add tests but I think this can close out the prior PRs maybe. we really need to write a doc on the API and add tests though... i'm still convinced we should flesh this out more than just rushing it along, but anyway, this POC works and is pretty simple.

my commits are out of order by time (my vm is always lagging :/ ) but the CI passes

mostly this covers #1168 without adding all the additional event model/logic that we don't really need at this point, it just uses the protocol one

Think i've come back and over taken you in #1168 now.

authors: mantree rdallman

repo: fnproject/fn


text:
use a new slot if call extensions change

When the same call is invoked with changes in the extensions, we end up using the old cached values if we reuse a slot
Included call extensions in the slot key so that we match and reuse a slot only if the extensions do not change

@kmjohansen, Changed the approach to use a driver method to get the extns that are required for the slot hash


text:
🛑 Contaboo is down

In 630dfcb, Contaboo (https://contabo.com) was down:

HTTP code: 403
Response time: 1350 ms

Resolved: Contaboo is back up in 1fd3d04 after 11 hours, 54 minutes.

repo: fnzv/status


text:
Compilation of bindings under macOS does not succeed

cmake --build build --target libchatllm
error！
suggest：
bindings/libchatllm.h
the 7 line add this
#elif defined(APPLE) && defined(MACH) // macOS or iOS
#define API_CALL
#if (!defined x86_64) && (!defined arm64)
#error unsupported target architecture
#endif

Thanks for your reporting and suggestion.
Fixed in: https://github.com/foldl/chatllm.cpp/commit/b184a69d00b937e8ef5817965470710ecdebaa78

authors: foldl phpk


text:
MM Update PO Instances Derived Table

Currently workflow_status isn't in the po instance derived table. This will be added along with product id and pol id.

DROP TABLE IF EXISTS folio_reporting.po_instance;
CREATE TABLE folio_reporting.po_instance AS
SELECT
po_purchase_orders.po_number AS po_number,
organization_organizations.code AS vendor_code,
user_users.username AS created_by,
po_purchase_orders.workflow_status AS po_wf_status,
json_extract_path_text(po_purchase_orders.data, 'approved') AS status_approved,
json_extract_path_text(po_purchase_orders.data, 'metadata','createdDate') AS created_date,
--json_extract_path_text(po_purchase_orders.data, 'metadata','createdByUserId') AS created_by,
json_extract_path_text(configuration_entries.value::json, 'name') AS created_location,
po_lines.instance_id AS pol_instance_id,
inventory_instances.hrid AS pol_instance_hrid,
inventory_instances.title AS title,
po_lines.publication_date AS date_of_publication,
po_lines.publisher AS publisher,
po_lines.requester AS requester,
po_lines.rush AS rush
FROM po_purchase_orders
LEFT JOIN
po_lines ON po_purchase_orders.id=po_lines.purchase_order_id
LEFT JOIN inventory_instances ON
po_lines.instance_id = inventory_instances.id
LEFT JOIN organization_organizations ON
po_purchase_orders.vendor=organization_organizations.id
LEFT JOIN configuration_entries ON
po_purchase_orders.bill_to = configuration_entries.id
LEFT JOIN user_users ON
json_extract_path_text(po_purchase_orders.data, 'metadata','createdByUserId') = user_users.id;
CREATE INDEX ON folio_reporting.po_instance (po_number);
CREATE INDEX ON folio_reporting.po_instance (vendor_code);
CREATE INDEX ON folio_reporting.po_instance (status_approved);
CREATE INDEX ON folio_reporting.po_instance (created_date);
CREATE INDEX ON folio_reporting.po_instance (created_by);
CREATE INDEX ON folio_reporting.po_instance (po_wf_status);
CREATE INDEX ON folio_reporting.po_instance (created_location);
CREATE INDEX ON folio_reporting.po_instance (pol_intance_id);
CREATE INDEX ON folio_reporting.po_instance (title);
CREATE INDEX ON folio_reporting.po_instance (date_of_publication);
CREATE INDEX ON folio_reporting.po_instance (publisher);
CREATE INDEX ON folio_reporting.po_instance (requester);
CREATE INDEX ON folio_reporting.po_instance (rush);

workflow_status added and creted_by to user_users table

@natalyapik Did you mean to create a pull request?

i was responding to earlier created pull request but i guess I could not fine the "comit" button

From: jenmawe @.>
Sent: Tuesday, March 23, 2021 1:49 PM
To: folio-org/folio-analytics @.>
Cc: Natalya Pikulik @.>; Mention @.>
Subject: Re: [folio-org/folio-analytics] MM Update PO Instances Derived Table (#346)
@natalyapikhttps://github.com/natalyapik Did you mean to create a pull request?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/folio-org/folio-analytics/issues/346#issuecomment-805104637, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AO5MI7UCDLK66VJPJX6FJO3TFDICJANCNFSM4XLPKRCQ.

in recent merged pull request

authors: jenmawe natalyapik

repo: folio-org/folio-analytics


text:
STRIPES-810: Ordered and bulleted lists are superimposed on the text …

Purpose
Ordered and bulleted lists are superimposed on the text when the user increases the indent in the "Body" field
Approach
Indent button adds text-indent css property to li tag. Li tag contains ::before pseudo element which is used to display li tag order in list. ::before pseudo element inherits text-indent css property value from li tag so we have to reset it to 0.
Refs
https://issues.folio.org/browse/STRIPES-810

yarn run v1.22.18
$ eslint .
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

authors: id-jenkins pavelspichonak

repo: folio-org/stripes-template-editor


text:
Create uk.js

Ukrainian translation

Thanks!

authors: Sensetivity fonini

repo: fonini/ckeditor-youtube-plugin

license: WTFPL


text:
Adding first feature

What this PR does / why we need it:
Fixes first feature
Which issue this PR fixes (optional, in fixes #(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
Except part1, all other changes are tested
Release note:

@neo-ans, pls review

repo: for-sush-test/git-handson