Skip to content

Scrollable TabBars have a glow effect on Android #85230

@jmshrv

Description

@jmshrv

On Android, scrolling to the end of a tab bar shouldn't cause the glow effect to show. On Flutter, this still happens.

Steps to Reproduce

  1. Run flutter create bug.
  2. Update the files as follows: ...
    main.dart:
import 'package:flutter/material.dart';

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

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      themeMode: ThemeMode.dark,
      darkTheme: ThemeData.dark(),
      home: const MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return DefaultTabController(
      length: 15,
      child: Scaffold(
        appBar: AppBar(
          title: const Text("Tab Bar Test"),
          bottom: const TabBar(
            tabs: [
              Tab(text: "TAB"),
              Tab(text: "TAB"),
              Tab(text: "TAB"),
              Tab(text: "TAB"),
              Tab(text: "TAB"),
              Tab(text: "TAB"),
              Tab(text: "TAB"),
              Tab(text: "TAB"),
              Tab(text: "TAB"),
              Tab(text: "TAB"),
              Tab(text: "TAB"),
              Tab(text: "TAB"),
              Tab(text: "TAB"),
              Tab(text: "TAB"),
              Tab(text: "TAB"),
            ],
            isScrollable: true,
          ),
        ),
        body: const TabBarView(children: [
          Text("Hello"),
          Text("Hello"),
          Text("Hello"),
          Text("Hello"),
          Text("Hello"),
          Text("Hello"),
          Text("Hello"),
          Text("Hello"),
          Text("Hello"),
          Text("Hello"),
          Text("Hello"),
          Text("Hello"),
          Text("Hello"),
          Text("Hello"),
          Text("Hello"),
        ]),
      ),
    );
  }
}
  1. Run the app on Android and try dragging the TabBar.

Expected results:

When overscrolled, there should be no effect.

Actual results:

A scroll glow was shown when scrolling to the end of the TabBar.

Logs
[  +42 ms] executing: uname -m
[  +18 ms] Exit code 0 from: uname -m
[        ] x86_64
[   +3 ms] executing: [/home/user/Development/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +2 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] d79295af24c3ed621c33713ecda14ad196fd9c31
[        ] executing: [/home/user/Development/flutter/] git tag --points-at d79295af24c3ed621c33713ecda14ad196fd9c31
[   +6 ms] Exit code 0 from: git tag --points-at d79295af24c3ed621c33713ecda14ad196fd9c31
[        ] 2.2.2
[   +3 ms] executing: [/home/user/Development/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +2 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/home/user/Development/flutter/] git ls-remote --get-url origin
[   +2 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +47 ms] executing: [/home/user/Development/flutter/] git rev-parse --abbrev-ref HEAD
[   +2 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +33 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +30 ms] executing: /home/user/Development/Android/Sdk/platform-tools/adb devices -l
[  +21 ms] List of devices attached
           emulator-5554          device product:sdk_gphone_x86_64_arm64 model:sdk_gphone_x86_64_arm64 device:generic_x86_64_arm64 transport_id:5
[   +4 ms] /home/user/Development/Android/Sdk/platform-tools/adb -s emulator-5554 shell getprop
[  +13 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +41 ms] Skipping pub get: version match.
[  +64 ms] Generating /home/user/Documents/tab_view_test/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +20 ms] ro.hardware = ranchu
[   +7 ms] Using hardware rendering with device sdk gphone x86 64 arm64. If you notice graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
[  +14 ms] Initializing file store
[   +6 ms] Skipping target: gen_localizations
[   +3 ms] complete
[   +2 ms] Launching lib/main.dart on sdk gphone x86 64 arm64 in debug mode...
[   +2 ms] /home/user/Development/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /home/user/Development/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot
--sdk-root /home/user/Development/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata
-DFLUTTER_WEB_AUTO_DETECT=true --output-dill /tmp/flutter_tools.LDDHVX/flutter_tool.NXAYRZ/app.dill --packages /home/user/Documents/tab_view_test/.dart_tool/package_config.json
-Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill
build/3c113a45063dc6628e68a4111abcacad.cache.dill.track.dill --enable-experiment=alternative-invalidation-strategy
[   +7 ms] executing: /home/user/Development/Android/Sdk/build-tools/30.0.3/aapt dump xmltree /home/user/Documents/tab_view_test/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[   +6 ms] Exit code 0 from: /home/user/Development/Android/Sdk/build-tools/30.0.3/aapt dump xmltree /home/user/Documents/tab_view_test/build/app/outputs/flutter-apk/app.apk
AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1e
               A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11")
               A: package="com.example.tab_view_test" (Raw: "com.example.tab_view_test")
               A: platformBuildVersionCode=(type 0x10)0x1e
               A: platformBuildVersionName=(type 0x10)0xb
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1e
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=16)
                 A: android:label(0x01010001)="tab_view_test" (Raw: "tab_view_test")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=21)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.tab_view_test.MainActivity" (Raw: "com.example.tab_view_test.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=35)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=45)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=49)
                     E: action (line=50)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=52)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=59)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +4 ms] executing: /home/user/Development/Android/Sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[   +3 ms] <- compile package:tab_view_test/main.dart
[  +13 ms] --------- beginning of main
           06-24 16:56:00.083 W/NetworkScheduler(  962): Running in whitelist mode. Ignoring task:
           com.google.android.apps.maps/com.google.android.apps.gmm.passiveassist.model.PassiveAssistDataStoreExpirationService{u=0 tag="PASSIVE_ASSIST.CLEAR_EXPIRED_DATA"
           trigger=window{period=259200s,flex=21600s,earliest=237599s,latest=259199s} requirements=[NET_ANY] attributes=[PERSISTED,RECURRING] scheduled=0s last_run=N/A jid=N/A status=UNKNOWN
           retries=0 client_lib=MANCHEGO_GCM-202210000}
[   +8 ms] executing: /home/user/Development/Android/Sdk/platform-tools/adb version
[   +4 ms] Android Debug Bridge version 1.0.41
           Version 31.0.2-7242960
           Installed as /home/user/Development/Android/Sdk/platform-tools/adb
[   +1 ms] executing: /home/user/Development/Android/Sdk/platform-tools/adb start-server
[   +3 ms] Building APK
[  +12 ms] Running Gradle task 'assembleDebug'...
[   +2 ms] Using gradle from /home/user/Documents/tab_view_test/android/gradlew.
[  +12 ms] executing: /opt/android-studio/jre/bin/java -version
[  +55 ms] Exit code 0 from: /opt/android-studio/jre/bin/java -version
[        ] openjdk version "11.0.8" 2020-07-14
           OpenJDK Runtime Environment (build 11.0.8+0-b944-P17168821)
           OpenJDK 64-Bit Server VM (build 11.0.8+0-b944-6842174, mixed mode)
[   +1 ms] executing: [/home/user/Documents/tab_view_test/android/] /home/user/Documents/tab_view_test/android/gradlew -Pverbose=true -Ptarget-platform=android-x64
-Ptarget=/home/user/Documents/tab_view_test/lib/main.dart -Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== -Pdart-obfuscation=false -Ptrack-widget-creation=true
-Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root assembleDebug
[ +416 ms] Welcome to Gradle 6.7!
[        ] Here are the highlights of this release:
[        ]  - File system watching is ready for production use
[        ]  - Declare the version of Java your build requires
[        ]  - Java 15 support
[        ] For more details see https://docs.gradle.org/6.7/release-notes.html
[+2291 ms] > Task :app:compileFlutterBuildDebug
[        ] [  +39 ms] executing: uname -m
[        ] [  +19 ms] Exit code 0 from: uname -m
[        ] [        ] x86_64
[        ] [   +3 ms] executing: [/home/user/Development/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [   +1 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [        ] d79295af24c3ed621c33713ecda14ad196fd9c31
[        ] [        ] executing: [/home/user/Development/flutter/] git tag --points-at d79295af24c3ed621c33713ecda14ad196fd9c31
[        ] [   +5 ms] Exit code 0 from: git tag --points-at d79295af24c3ed621c33713ecda14ad196fd9c31
[        ] [        ] 2.2.2
[        ] [   +3 ms] executing: [/home/user/Development/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[        ] [   +1 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] [        ] origin/stable
[        ] [        ] executing: [/home/user/Development/flutter/] git ls-remote --get-url origin
[        ] [   +1 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [  +32 ms] executing: [/home/user/Development/flutter/] git rev-parse --abbrev-ref HEAD
[        ] [   +2 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] stable
[        ] [  +29 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [  +51 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [   +1 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[        ] [  +13 ms] Initializing file store
[        ] [   +8 ms] Skipping target: gen_localizations
[        ] [   +3 ms] kernel_snapshot: Starting due to {}
[        ] [   +6 ms] /home/user/Development/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev
/home/user/Development/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root
/home/user/Development/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --target=flutter --no-print-incremental-dependencies -DFLUTTER_WEB_AUTO_DETECT=true
-Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --no-link-platform --packages /home/user/Documents/tab_view_test/.dart_tool/package_config.json
--output-dill /home/user/Documents/tab_view_test/.dart_tool/flutter_build/3c279a8cb89f35f8596dac4019076bea/app.dill --depfile
/home/user/Documents/tab_view_test/.dart_tool/flutter_build/3c279a8cb89f35f8596dac4019076bea/kernel_snapshot.d package:tab_view_test/main.dart
[+3294 ms] [+4948 ms] kernel_snapshot: Complete
[ +300 ms] [ +230 ms] debug_android_application: Starting due to {}
[ +100 ms] [ +102 ms] debug_android_application: Complete
[ +199 ms] [ +282 ms] Persisting file store
[        ] [   +3 ms] Done persisting file store
[        ] [   +7 ms] build succeeded.
[  +99 ms] [   +5 ms] "flutter assemble" took 5,676ms.
[        ] [   +2 ms] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [        ] exiting with code 0
[        ] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[        ] > Task :app:preBuild UP-TO-DATE
[        ] > Task :app:preDebugBuild UP-TO-DATE
[        ] > Task :app:compileDebugAidl NO-SOURCE
[        ] > Task :app:compileDebugRenderscript NO-SOURCE
[        ] > Task :app:generateDebugBuildConfig UP-TO-DATE
[  +99 ms] > Task :app:checkDebugAarMetadata UP-TO-DATE
[        ] > Task :app:cleanMergeDebugAssets
[        ] > Task :app:mergeDebugShaders UP-TO-DATE
[        ] > Task :app:compileDebugShaders NO-SOURCE
[        ] > Task :app:generateDebugAssets UP-TO-DATE
[        ] > Task :app:mergeDebugAssets
[  +99 ms] > Task :app:copyFlutterAssetsDebug
[        ] > Task :app:generateDebugResValues UP-TO-DATE
[        ] > Task :app:generateDebugResources UP-TO-DATE
[        ] > Task :app:mergeDebugResources UP-TO-DATE
[        ] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[        ] > Task :app:extractDeepLinksDebug UP-TO-DATE
[        ] > Task :app:processDebugMainManifest UP-TO-DATE
[        ] > Task :app:processDebugManifest UP-TO-DATE
[        ] > Task :app:processDebugManifestForPackage UP-TO-DATE
[        ] > Task :app:processDebugResources UP-TO-DATE
[ +298 ms] > Task :app:compileDebugKotlin
[        ] > Task :app:javaPreCompileDebug UP-TO-DATE
[  +99 ms] > Task :app:compileDebugJavaWithJavac
[        ] > Task :app:compileDebugSources
[        ] > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
[        ] > Task :app:processDebugJavaRes NO-SOURCE
[        ] > Task :app:checkDebugDuplicateClasses
[        ] > Task :app:mergeDebugJavaResource
[        ] > Task :app:dexBuilderDebug
[  +99 ms] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :app:validateSigningDebug UP-TO-DATE
[        ] > Task :app:desugarDebugFileDependencies
[ +199 ms] > Task :app:compressDebugAssets
[ +100 ms] > Task :app:mergeExtDexDebug
[ +200 ms] > Task :app:mergeDebugNativeLibs
[        ] > Task :app:mergeDexDebug
[ +199 ms] > Task :app:stripDebugDebugSymbols
[        ] Unable to strip the following libraries, packaging them as they are: libflutter.so.
[ +699 ms] > Task :app:packageDebug
[        ] > Task :app:assembleDebug
[        ] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[        ] Use '--warning-mode all' to show the individual deprecation warnings.
[        ] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[        ] BUILD SUCCESSFUL in 8s
[        ] 32 actionable tasks: 17 executed, 15 up-to-date
[ +328 ms] Running Gradle task 'assembleDebug'... (completed in 9.2s)
[  +45 ms] calculateSha: LocalDirectory: '/home/user/Documents/tab_view_test/build/app/outputs/flutter-apk'/app.apk
[ +370 ms] ✓  Built build/app/outputs/flutter-apk/app-debug.apk.
[   +1 ms] executing: /home/user/Development/Android/Sdk/build-tools/30.0.3/aapt dump xmltree /home/user/Documents/tab_view_test/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[   +4 ms] Exit code 0 from: /home/user/Development/Android/Sdk/build-tools/30.0.3/aapt dump xmltree /home/user/Documents/tab_view_test/build/app/outputs/flutter-apk/app.apk
AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1e
               A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11")
               A: package="com.example.tab_view_test" (Raw: "com.example.tab_view_test")
               A: platformBuildVersionCode=(type 0x10)0x1e
               A: platformBuildVersionName=(type 0x10)0xb
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1e
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=16)
                 A: android:label(0x01010001)="tab_view_test" (Raw: "tab_view_test")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=21)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.tab_view_test.MainActivity" (Raw: "com.example.tab_view_test.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=35)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=45)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=49)
                     E: action (line=50)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=52)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=59)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[        ] Stopping app 'app.apk' on sdk gphone x86 64 arm64.
[        ] executing: /home/user/Development/Android/Sdk/platform-tools/adb -s emulator-5554 shell am force-stop com.example.tab_view_test
[  +14 ms] executing: /home/user/Development/Android/Sdk/platform-tools/adb -s emulator-5554 shell pm list packages com.example.tab_view_test
[  +13 ms] package:com.example.tab_view_test
[   +1 ms] executing: /home/user/Development/Android/Sdk/platform-tools/adb -s emulator-5554 shell cat /data/local/tmp/sky.com.example.tab_view_test.sha1
[   +7 ms] 6ff9c3f074bd3fe4c276e9368fab524982a396ba
[        ] Installing APK.
[        ] Installing build/app/outputs/flutter-apk/app.apk...
[        ] executing: /home/user/Development/Android/Sdk/platform-tools/adb -s emulator-5554 install -t -r /home/user/Documents/tab_view_test/build/app/outputs/flutter-apk/app.apk
[ +399 ms] Performing Streamed Install
                    Success
[        ] Installing build/app/outputs/flutter-apk/app.apk... (completed in 400ms)
[        ] executing: /home/user/Development/Android/Sdk/platform-tools/adb -s emulator-5554 shell echo -n 9fef9359b4d39121aca786e8365edeedaaac8a16 >
/data/local/tmp/sky.com.example.tab_view_test.sha1
[  +10 ms] executing: /home/user/Development/Android/Sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[   +9 ms] --------- beginning of system
           06-24 16:56:10.243 W/BroadcastQueue(  528): Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_REPLACED dat=package:com.example.tab_view_test
           flg=0x4000010 (has extras) } to com.google.android.gms/.gass.chimera.PackageChangeBroadcastReceiver
[   +3 ms] executing: /home/user/Development/Android/Sdk/platform-tools/adb -s emulator-5554 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation
true --ez enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true com.example.tab_view_test/com.example.tab_view_test.MainActivity
[  +48 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.tab_view_test/.MainActivity (has extras) }
[        ] Waiting for observatory port to be available...
[ +491 ms] Observatory URL on device: http://127.0.0.1:34103/-vYBy5C0tco=/
[        ] executing: /home/user/Development/Android/Sdk/platform-tools/adb -s emulator-5554 forward tcp:0 tcp:34103
[   +5 ms] 38749
[        ] Forwarded host port 38749 to device port 34103 for Observatory
[   +5 ms] Caching compiled dill
[  +24 ms] Connecting to service protocol: http://127.0.0.1:38749/-vYBy5C0tco=/
[ +139 ms] Launching a Dart Developer Service (DDS) instance at http://127.0.0.1:0, connecting to VM service at http://127.0.0.1:38749/-vYBy5C0tco=/.
[  +65 ms] DDS is listening at http://127.0.0.1:45487/nKSBE092nLc=/.
[  +32 ms] Successfully connected to service protocol: http://127.0.0.1:38749/-vYBy5C0tco=/
[  +56 ms] DevFS: Creating new filesystem on the device (null)
[  +13 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.tab_view_test/code_cache/tab_view_testTBVHLK/tab_view_test/)
[   +1 ms] Updating assets
[  +44 ms] Syncing files to device sdk gphone x86 64 arm64...
[        ] <- reset
[        ] Compiling dart to kernel with 0 updated files
[   +1 ms] <- recompile package:tab_view_test/main.dart 26476fe7-2f9e-48e7-b14f-e55e031db08c
[        ] <- 26476fe7-2f9e-48e7-b14f-e55e031db08c
[  +41 ms] Updating files.
[        ] DevFS: Sync finished
[        ] Syncing files to device sdk gphone x86 64 arm64... (completed in 44ms)
[        ] Synced 0.0MB.
[        ] <- accept
[  +48 ms] Connected to _flutterView/0x730cfb962e00.
[   +1 ms] Flutter run key commands.
[   +1 ms] r Hot reload. 🔥🔥🔥
[        ] R Hot restart.
[        ] h Repeat this help message.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ] 💪 Running with sound null safety 💪
[        ] An Observatory debugger and profiler on sdk gphone x86 64 arm64 is available at: http://127.0.0.1:45487/nKSBE092nLc=/
[ +416 ms] The Flutter DevTools debugger and profiler on sdk gphone x86 64 arm64 is available at: http://127.0.0.1:9101?uri=http%3A%2F%2F127.0.0.1%3A45487%2FnKSBE092nLc%3D%2F
[+4763 ms] DevFS: Deleting filesystem on the device (file:///data/user/0/com.example.tab_view_test/code_cache/tab_view_testTBVHLK/tab_view_test/)
[  +47 ms] DevFS: Deleted filesystem on the device (file:///data/user/0/com.example.tab_view_test/code_cache/tab_view_testTBVHLK/tab_view_test/)
[  +49 ms] Service protocol connection closed.
[        ] Application finished.
[   +2 ms] executing: /home/user/Development/Android/Sdk/platform-tools/adb -s emulator-5554 forward --list
[   +4 ms] Exit code 0 from: /home/user/Development/Android/Sdk/platform-tools/adb -s emulator-5554 forward --list
[        ] emulator-5554 tcp:38749 tcp:34103
[        ] executing: /home/user/Development/Android/Sdk/platform-tools/adb -s emulator-5554 forward --remove tcp:38749
[   +4 ms] executing: /home/user/Development/Android/Sdk/platform-tools/adb -s emulator-5554 forward --list
[   +3 ms] Exit code 0 from: /home/user/Development/Android/Sdk/platform-tools/adb -s emulator-5554 forward --list
[   +1 ms] "flutter run" took 16,733ms.
[   +3 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 0
Analyzing tab_view_test...                                              
No issues found! (ran in 0.9s)
[✓] Flutter (Channel stable, 2.2.2, on Linux, locale en_GB.UTF-8)
    • Flutter version 2.2.2 at /home/user/Development/flutter
    • Framework revision d79295af24 (13 days ago), 2021-06-11 08:56:01 -0700
    • Engine revision 91c9fc8fe0
    • Dart version 2.13.3

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /home/user/Development/Android/Sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: /opt/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+0-b944-P17168821)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /usr/bin/chromium

[✓] Android Studio (version 4.1)
    • Android Studio at /opt/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.8+0-b944-P17168821)

[✓] Connected device (2 available)
    • sdk gphone x86 64 arm64 (mobile) • emulator-5554 • android-x64    • Android 11 (API 30) (emulator)
    • Chrome (web)                     • chrome        • web-javascript • Chromium 91.0.4472.114 Arch Linux

• No issues found!

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work lista: fidelityMatching the OEM platforms betterf: material designflutter/packages/flutter/material repository.f: scrollingViewports, list views, slivers, etc.found in release: 2.2Found to occur in 2.2found in release: 2.3Found to occur in 2.3frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work on

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions