flutter / flutter

Flutter makes it easy and fast to build beautiful apps for mobile and beyond
https://flutter.dev
BSD 3-Clause "New" or "Revised" License
165.14k stars 27.22k forks source link

iOS issue: Scrollbar position is wrong in horizontal ListView #57920

Open WingCH opened 4 years ago

WingCH commented 4 years ago

i want to use Widget Scrollbar in horizontal ListView.

Android is normal, but iOS Scrollbar position is wrong.

iOS Android
ios android
import 'package:flutter/material.dart';

import 'package:flutter/cupertino.dart';

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

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  final List<Widget> items = List<Widget>.generate(10, (_) {
    return Placeholder(
      fallbackWidth: 50,
      fallbackHeight: 50,
    );
  });

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Scrollbar in horizontal ListView'),
      ),
      body: Scrollbar(
        isAlwaysShown: true,
        child: Container(
          height: 50,
          child: ListView(
            scrollDirection: Axis.horizontal,
            children: items,
          ),
        ),
      ),
    );
  }
}

Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, v1.17.1, on Mac OS X 10.15.4 19E287, locale zh-Hant-HK) [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3) [✓] Xcode - develop for iOS and macOS (Xcode 11.5) [✓] Android Studio (version 3.6) [✓] VS Code (version 1.45.1) [✓] Connected device (3 available)

• No issues found!

iapicca commented 4 years ago

Hi @WingCH I tested your code with the latest master

logs ```bash [ +170 ms] Syncing files to device iPhone 8... [ +4 ms] Scanning asset files [ +4 ms] <- reset [ ] Compiling dart to kernel with 0 updated files [ +2 ms] <- recompile package:master/main.dart d4317362-f6d1-41c3-bc02-9b3d3b792678 [ ] <- d4317362-f6d1-41c3-bc02-9b3d3b792678 [ +112 ms] Updating files [ +116 ms] DevFS: Sync finished [ ] Syncing files to device iPhone 8... (completed in 241ms) [ +1 ms] Synced 0.9MB. [ +1 ms] <- accept [ +2 ms] Connected to _flutterView/0x7fc93a822020. [ +2 ms] Flutter run key commands. [ +4 ms] r Hot reload. 🔥🔥🔥 [ +2 ms] R Hot restart. [ +1 ms] h Repeat this help message. [ +2 ms] d Detach (terminate "flutter run" but leave application running). [ +1 ms] c Clear the screen [ ] q Quit (terminate the application on the device). [ ] An Observatory debugger and profiler on iPhone 8 is available at: http://127.0.0.1:53728/6kQ8N63FH_o=/ [ +224 ms] flutter: ══╡ EXCEPTION CAUGHT BY SCHEDULER LIBRARY ╞═════════════════════════════════════════════════════════ [ +6 ms] flutter: The following assertion was thrown during a scheduler callback: [ ] flutter: 'package:flutter/src/cupertino/scrollbar.dart': Failed assertion: line 243 pos 16: [ ] flutter: 'widget.controller != null': is not true. [ ] flutter: [ +7 ms] flutter: Either the assertion indicates an error in the framework itself, or we should provide substantially [ ] flutter: more information in this error message to help you determine and fix the underlying cause. [ ] flutter: In either case, please report this assertion by filing a bug on GitHub: [ ] flutter: https://github.com/flutter/flutter/issues/new?template=BUG.md [ ] flutter: [ +5 ms] flutter: When the exception was thrown, this was the stack: [ ] flutter: #2 _CupertinoScrollbarState.didChangeDependencies. (package:flutter/src/cupertino/scrollbar.dart:243:16) [ ] flutter: #3 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1113:15) [ ] flutter: #4 SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1060:9) [ ] flutter: #5 SchedulerBinding.scheduleWarmUpFrame. (package:flutter/src/scheduler/binding.dart:861:7) [ ] flutter: (elided 13 frames from class _AssertionError, class _RawReceivePortImpl, class _Timer, dart:async, and dart:async-patch) [ +1 ms] flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════ ```
doctor ```console [✓] Flutter (Channel master, 1.19.0-2.0.pre.143, on Mac OS X 10.15.4 19E287, locale en-GB) • Flutter version 1.19.0-2.0.pre.143 at /Users/nevercode/development/flutter_master • Framework revision 9d58a87066 (2 days ago), 2020-05-22 22:37:01 -0700 • Engine revision 9ce1e5c5c7 • Dart version 2.9.0 (build 2.9.0-10.0.dev 7706afbcf5) [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2) • Android SDK at /Users/nevercode/Library/Android/sdk • Platform android-29, build-tools 29.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_212-release-1586-b4-5784211) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 11.3.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 11.3.1, Build version 11C504 • CocoaPods version 1.9.0 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 3.6) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 45.1.1 • Dart plugin version 192.7761 • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) [✓] VS Code • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.10.2 [✓] Connected device (3 available) • iPhone 8 • D5F70F31-B488-4454-9539-320B5551D92A • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-3 (simulator) • Web Server • web-server • web-javascript • Flutter Tools • Chrome • chrome • web-javascript • Google Chrome 81.0.4044.138 • No issues found! ```

your code returns an error fixed with small changes as in this code sample; the results on ios seems to be consistent with the intended behaviour, does the issue reproduce in master for you? thank you

screenshot

WingCH commented 4 years ago

today have Flutter 1.17.2 update, still have this problem.

Flutter 1.17.2 • channel stable • https://github.com/flutter/flutter.git Framework • revision 5f21edf8b6 (10 hours ago) • 2020-05-28 12:44:12 -0700 Engine • revision b851c71829 Tools • Dart 2.8.3

iapicca commented 4 years ago

Hi @WingCH I just tested the code above with both the latest stable and the latest master

stable ```console [✓] Flutter (Channel stable, v1.17.2, on Mac OS X 10.15.4 19E287, locale en-GB) • Flutter version 1.17.2 at /Users/nevercode/development/flutter • Framework revision 5f21edf8b6 (11 hours ago), 2020-05-28 12:44:12 -0700 • Engine revision b851c71829 • Dart version 2.8.3 [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2) • Android SDK at /Users/nevercode/Library/Android/sdk • Platform android-29, build-tools 29.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_212-release-1586-b4-5784211) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 11.3.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 11.3.1, Build version 11C504 • CocoaPods version 1.9.0 [✓] Android Studio (version 3.6) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 45.1.1 • Dart plugin version 192.7761 • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) [✓] VS Code • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.10.2 [✓] Connected device (2 available) • iPhone 8 • D5F70F31-B488-4454-9539-320B5551D92A • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-3 (simulator) • iPhone 11 Pro Max • A1664A8D-8DB6-4659-B012-18746A2DB8C3 • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-3 (simulator) • No issues found! ```
master ```console [✓] Flutter (Channel master, 1.19.0-2.0.pre.192, on Mac OS X 10.15.4 19E287, locale en-GB) • Flutter version 1.19.0-2.0.pre.192 at /Users/nevercode/development/flutter_master • Framework revision 9b3634f422 (2 hours ago), 2020-05-29 00:58:01 -0400 • Engine revision c5d012900f • Dart version 2.9.0 (build 2.9.0-11.0.dev 6489a0c68d) [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2) • Android SDK at /Users/nevercode/Library/Android/sdk • Platform android-29, build-tools 29.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_212-release-1586-b4-5784211) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 11.3.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 11.3.1, Build version 11C504 • CocoaPods version 1.9.0 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 3.6) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 45.1.1 • Dart plugin version 192.7761 • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211) [✓] VS Code • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.10.2 [✓] Connected device (4 available) • iPhone 8 • D5F70F31-B488-4454-9539-320B5551D92A • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-3 (simulator) • iPhone 11 Pro Max • A1664A8D-8DB6-4659-B012-18746A2DB8C3 • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-3 (simulator) • Web Server • web-server • web-javascript • Flutter Tools • Chrome • chrome • web-javascript • Google Chrome 83.0.4103.61 • No issues found! ```

the issue seems to be cause by the notch

without safe area

please consider using SafeArea

@override
  Widget build(BuildContext context) => SafeArea(
    child:  Scaffold(

while the issue isn't solved

with safe area

thank you for reporting this

WingCH commented 4 years ago

thanks your quick reply, SafeArea can solved my problem, but if i set bottom: false, the problem still here

return SafeArea(
      bottom: false,
...
);
pedromassangocode commented 3 years ago

I can reproduce this issue on latest Master and Stable channel.

Screen Shot 2021-01-26 at 14 51 07

code sample ```dart import 'package:flutter/material.dart'; import 'package:flutter/cupertino.dart'; void main() { runApp(MyApp()); } class MyApp extends StatelessWidget { // This widget is the root of your application. @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo', theme: ThemeData( primarySwatch: Colors.blue, visualDensity: VisualDensity.adaptivePlatformDensity, ), home: MyHomePage(), ); } } class MyHomePage extends StatelessWidget { final List items = List.generate(10, (_) { return Placeholder( fallbackWidth: 50, fallbackHeight: 50, ); }); final ScrollController _controller = ScrollController(); @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: Text('Scrollbar in horizontal ListView'), ), body: Scrollbar( controller: _controller, isAlwaysShown: true, child: Container( height: 50, child: ListView( controller: _controller, scrollDirection: Axis.horizontal, children: items, ), ), ), ); } } ```
flutter doctor -v ```bash ╔════════════════════════════════════════════════════════════════════════════╗ ║ Welcome to Flutter! - https://flutter.dev ║ ║ ║ ║ The Flutter tool uses Google Analytics to anonymously report feature usage ║ ║ statistics and basic crash reports. This data is used to help improve ║ ║ Flutter tools over time. ║ ║ ║ ║ Flutter tool analytics are not sent on the very first run. To disable ║ ║ reporting, type 'flutter config --no-analytics'. To display the current ║ ║ setting, type 'flutter config'. If you opt out of analytics, an opt-out ║ ║ event will be sent, and then no further information will be sent by the ║ ║ Flutter tool. ║ ║ ║ ║ By downloading the Flutter SDK, you agree to the Google Terms of Service. ║ ║ Note: The Google Privacy Policy describes how data is handled in this ║ ║ service. ║ ║ ║ ║ Moreover, Flutter includes the Dart SDK, which may send usage metrics and ║ ║ crash reports to Google. ║ ║ ║ ║ Read about data we send with crash reports: ║ ║ https://flutter.dev/docs/reference/crash-reporting ║ ║ ║ ║ See Google's privacy policy: ║ ║ https://policies.google.com/privacy ║ ╚════════════════════════════════════════════════════════════════════════════╝ [✓] Flutter (Channel stable, 1.22.6, on Mac OS X 10.15.7 19H114 darwin-x64, locale en) • Flutter version 1.22.6 at /Users/pedromassango/Code/flutter_stable • Framework revision 9b2d32b605 (3 days ago), 2021-01-22 14:36:39 -0800 • Engine revision 2f0af37152 • Dart version 2.10.5 [✓] 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 ! No devices available ! Doctor found issues in 2 categories. ``` ```bash [✓] Flutter (Channel master, 1.26.0-13.0.pre.178, on Mac OS X 10.15.7 19H114 darwin-x64, locale en) • Flutter version 1.26.0-13.0.pre.178 at /Users/pedromassango/Code/flutter_master • Framework revision 22f1700427 (17 minutes ago), 2021-01-26 14:34:03 +0800 • Engine revision 6e391c5942 • Dart version 2.12.0 (build 2.12.0-257.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 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.2.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 (2 available) • macOS (desktop) • macos • darwin-x64 • Mac OS X 10.15.7 19H114 darwin-x64 • Chrome (web) • chrome • web-javascript • Google Chrome 88.0.4324.96 ! Doctor found issues in 1 category. ```
elricym commented 3 years ago

Any workaround here? I still have this issue with flutter 2.2.3.

malikwang commented 3 years ago

Any workaround here? I still have this issue with flutter 2.2.3.

MediaQuery(
  data: MediaQuery.of(context).removePadding(removeBottom: true),
  child: SafeArea(
    child: Scrollbar(
      controller: _controller,
      isAlwaysShown: true,
      child: ListView.separated(),
    ),
  ),
);
zjrwdl commented 2 years ago

Any workaround here? I still have this issue with flutter 2.2.3.

MediaQuery(
  data: MediaQuery.of(context).removePadding(removeBottom: true),
  child: SafeArea(
    child: Scrollbar(
      controller: _controller,
      isAlwaysShown: true,
      child: ListView.separated(),
    ),
  ),
);

thanks , MediaQuery.of(context).removePadding can solve this problem

hsynaksu commented 2 years ago

I would like to comment that this issue still exists in version 3.0.2

danagbemava-nc commented 1 year ago

This bug still reproduces on the latest versions of flutter. Updating labels.

screenshot
code sample ```dart import 'package:flutter/material.dart'; void main() => runApp(const MyApp()); class MyApp extends StatelessWidget { const MyApp({super.key}); @override Widget build(BuildContext context) { const title = 'Horizontal List'; return MaterialApp( title: title, home: Scaffold( appBar: AppBar( title: const Text(title), ), body: Container( margin: const EdgeInsets.symmetric(vertical: 20.0), height: 200.0, child: Scrollbar( isAlwaysShown: true, child: ListView( // This next line does the trick. scrollDirection: Axis.horizontal, children: [ Container( width: 160.0, color: Colors.red, ), Container( width: 160.0, color: Colors.blue, ), Container( width: 160.0, color: Colors.green, ), Container( width: 160.0, color: Colors.yellow, ), Container( width: 160.0, color: Colors.orange, ), ], ), ), ), ), ); } } ```
flutter doctor -v ``` [✓] Flutter (Channel stable, 3.7.11, on macOS 13.3.1 22E261 darwin-arm64, locale en-GB) • Flutter version 3.7.11 on channel stable at /Users/nexus/dev/sdks/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision f72efea43c (7 days ago), 2023-04-11 11:57:21 -0700 • Engine revision 1a65d409c7 • Dart version 2.19.6 • DevTools version 2.20.1 [✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0) • Android SDK at /Users/nexus/Library/Android/sdk • Platform android-33, build-tools 33.0.0 • Java binary at: /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/222.4459.24.2221.9862592/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 14.3) • Xcode at /Applications/Xcode-14.3.0.app/Contents/Developer • Build 14E222b • CocoaPods version 1.11.3 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2022.1) • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/221.6008.13.2211.9619390/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 11.0.15+0-b2043.56-8887301) [✓] Android Studio (version 2022.2) • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/222.4459.24.2221.9862592/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 17.0.6+0-17.0.6b802.4-9586694) [✓] IntelliJ IDEA Ultimate Edition (version 2023.1) • IntelliJ at /Users/nexus/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app • Flutter plugin version 73.0.4 • Dart plugin version 231.8109.91 [✓] IntelliJ IDEA Ultimate Edition (version 2023.1) • IntelliJ at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/231.8109.175/IntelliJ IDEA.app • 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.77.3) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.62.0 [✓] Connected device (4 available) • Pixel 7 (mobile) • 28291FDH2001SA • android-arm64 • Android 13 (API 33) • Nexus (mobile) • 00008020-001875E83A38002E • ios • iOS 16.4.1 20E252 • macOS (desktop) • macos • darwin-arm64 • macOS 13.3.1 22E261 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 112.0.5615.49 ! Error: Nexus is busy: Fetching debug symbols for Nexus. Xcode will continue when Nexus is finished. (code -10) [✓] HTTP Host Availability • All required HTTP hosts are available • No issues found! ``` ``` [!] Flutter (Channel master, 3.10.0-7.0.pre.17, on macOS 13.3.1 22E261 darwin-arm64, locale en-GB) • Flutter version 3.10.0-7.0.pre.17 on channel master at /Users/nexus/dev/sdks/flutters ! Warning: `flutter` on your path resolves to /Users/nexus/dev/sdks/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutters. Consider adding /Users/nexus/dev/sdks/flutters/bin to the front of your path. ! Warning: `dart` on your path resolves to /Users/nexus/dev/sdks/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutters. Consider adding /Users/nexus/dev/sdks/flutters/bin to the front of your path. • Upstream repository https://github.com/flutter/flutter.git • Framework revision 3ba249a6b3 (8 hours ago), 2023-04-18 10:46:33 +0530 • Engine revision c4396f9f60 • Dart version 3.1.0 (build 3.1.0-12.0.dev) • DevTools version 2.23.1 • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades. [✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0) • Android SDK at /Users/nexus/Library/Android/sdk • Platform android-33, build-tools 33.0.0 • Java binary at: /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/222.4459.24.2221.9862592/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 14.3) • Xcode at /Applications/Xcode-14.3.0.app/Contents/Developer • Build 14E222b • CocoaPods version 1.11.3 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2022.1) • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/221.6008.13.2211.9619390/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 11.0.15+0-b2043.56-8887301) [✓] Android Studio (version 2022.2) • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/222.4459.24.2221.9862592/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 17.0.6+0-17.0.6b802.4-9586694) [✓] IntelliJ IDEA Ultimate Edition (version 2023.1) • IntelliJ at /Users/nexus/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app • Flutter plugin version 73.0.4 • Dart plugin version 231.8109.91 [✓] IntelliJ IDEA Ultimate Edition (version 2023.1) • IntelliJ at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/231.8109.175/IntelliJ IDEA.app • 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.77.3) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.62.0 [✓] Connected device (4 available) • Pixel 7 (mobile) • 28291FDH2001SA • android-arm64 • Android 13 (API 33) • Nexus (mobile) • 00008020-001875E83A38002E • ios • iOS 16.4.1 20E252 • macOS (desktop) • macos • darwin-arm64 • macOS 13.3.1 22E261 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 112.0.5615.49 ! Error: Nexus is busy: Fetching debug symbols for Nexus. Xcode will continue when Nexus is finished. (code -10) [✓] Network resources • All expected network resources are available. ! Doctor found issues in 1 category. ```
iapicca commented 1 year ago

@danagbemava-nc shouldn't this be a material-tag issue?

https://api.flutter.dev/flutter/material/Scrollbar-class.html

sunilhari9 commented 1 year ago

Any Solution for this? still facing in latest Flutter version image

DmitrySikorsky commented 1 year ago

I have it too, 3.10.2.

ElGenius-developer commented 1 year ago

I try SafeArea above scroll widget and it works fine for me

michalowskim commented 10 months ago

Any updates on this?