Repository: flutter
Issue: CarouselView.weighted scrolls fast with higher weights
Labels: framework,f: material design,f: scrolling,has reproducible steps,P2,team-design,triaged-design,found in release: 3.27,found in release: 3.28

### Steps to reproduce

1. Create a CarouselView.weighted with flexWeight [7, 1].
2. Examine the scroll speed. feels pretty natural.
3. change the flexWeight to [1, 7].
4. The scroll speed is now way too fast.

### Expected results

Scroll speed should always be natural and not depend on the flexWeight.

### Actual results

The scroll speed is way to fast, if the flexWeight starts with a low number.

### Code sample

<details open><summary>Code sample</summary>

```dart
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:go_router/go_router.dart';

class KoalaPage extends ConsumerWidget {
  const KoalaPage({super.key});

  /// Number of koala images shown
  static const imageCount = 10;

  @override
  Widget build(BuildContext context, WidgetRef ref) {
    return Scaffold(
      appBar: AppBar(title: const Text('koala')),
      body: SingleChildScrollView(
        child: Column(
          spacing: 16,
          children: [
            const Text('FlexWeight [7, 1]'),
            ConstrainedBox(
              constraints: BoxConstraints(
                maxHeight: MediaQuery.sizeOf(context).height / 3,
              ),
              child: CarouselView.weighted(
                flexWeights: const [7, 1],
                itemSnapping: true,
                onTap: (index) => context.go('/koala/detail/koala_$index'),
                children: [
                  for (var i = 0; i < imageCount; i++)
                    Container(
                      color: Colors.primaries[i % Colors.primaries.length],
                    ),
                ],
              ),
            ),
            const Text('FlexWeight [1, 7]'),
            ConstrainedBox(
              constraints: BoxConstraints(
                maxHeight: MediaQuery.sizeOf(context).height / 3,
              ),
              child: CarouselView.weighted(
                flexWeights: const [1, 7],
                itemSnapping: true,
                onTap: (index) => context.go('/koala/detail/koala_$index'),
                children: [
                  for (var i = 0; i < imageCount; i++)
                    Container(
                      color: Colors.primaries[i % Colors.primaries.length],
                    ),
                ],
              ),
            ),
          ],
        ),
      ),
    );
  }
}
```

</details>


### Screenshots or Video

<details open>
<summary>Screenshots / Video demonstration</summary>

https://github.com/user-attachments/assets/42308baf-ccd1-4536-a771-47b957d68146



</details>


### Logs

<details open><summary>Logs</summary>

```console
[Paste your logs here]
```

</details>


### Flutter Doctor output

<details open><summary>Doctor output</summary>

```console
flutter doctor -v
[✓] Flutter (Channel stable, 3.27.0, on macOS 15.2 24C101 darwin-arm64, locale en-CH)
    • Flutter version 3.27.0 on channel stable at /Users/hoschi/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 8495dee1fd (6 days ago), 2024-12-10 14:23:39 -0800
    • Engine revision 83bacfc525
    • Dart version 3.6.0
    • DevTools version 2.40.2

[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
    • Android SDK at /Users/hoschi/Library/Android/sdk
    • Platform android-35, build-tools 35.0.0
    • ANDROID_HOME = /Users/hoschi/Library/Android/sdk
    • Java binary at: /Users/hoschi/.sdkman/candidates/java/17.0.7-tem/bin/java
    • Java version OpenJDK Runtime Environment Temurin-17.0.7+7 (build 17.0.7+7)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 16.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 16B40
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2024.2)
    • 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 21.0.3+-79915917-b509.11)

[✓] VS Code (version 1.95.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.100.0

[✓] Connected device (5 available)
    • Pixel 7 (mobile)                • 29051FDH2003HK                       • android-arm64  • Android 15 (API 35)
    • iPhone 16 (mobile)              • 045606BF-A743-4B8B-85D6-F13FB09F7DF4 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-18-1 (simulator)
    • macOS (desktop)                 • macos                                • darwin-arm64   • macOS 15.2 24C101 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad                • darwin         • macOS 15.2 24C101 darwin-arm64
    • Chrome (web)                    • chrome                               • web-javascript • Google Chrome 131.0.6778.140

[✓] Network resources
    • All expected network resources are available.

• No issues found!```

</details>