You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The customWidths property is not being honored. I saw this already opened here but they did not give more info. I have a reproducible case (I believe).
Expected behavior
It seems the width is sometimes expanded, but other times it is ignored. For instance, the one above that is 200, if I change it to 150 it is the same size. 100 is even the same size as all the others. The max width of the screen is 393, so I don't think that is an issue. It is not in any padding, just a column inside a scaffold body.
Screenshots
If at 200:
If at 150:
If at 65.0 to match the neighbors it does shrink and matches them:
Additional information
toggle_switch version
2.3.0
flutter doctor -v
[✓] Flutter (Channel stable, 3.22.3, on macOS 14.2.1 23C71 darwin-arm64, locale en-US)
• Flutter version 3.22.3 on channel stable at /Users/justinpfenning/development/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision b0850beeb2 (2 weeks ago), 2024-07-16 21:43:41 -0700
• Engine revision 235db911ba
• Dart version 3.4.4
• DevTools version 2.34.3
[!] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
• Android SDK at /Users/justinpfenning/Library/Android/sdk
✗ cmdline-tools component is missing
Run `path/to/sdkmanager --install "cmdline-tools;latest"`
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15F31d
• CocoaPods version 1.15.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.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 11.0.12+0-b1504.28-7817840)
[✓] VS Code (version 1.91.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.94.0
[✓] Connected device (5 available)
• Justin's iPhone 14 (mobile) • 00008110-001044E10C81401E • ios • iOS 17.5.1 21F90
• iPhone 15 Pro (mobile) • 40B59F60-F887-4C6D-A36A-B01D31129D7E • ios • com.apple.CoreSimulator.SimRuntime.iOS-17-5 (simulator)
• macOS (desktop) • macos • darwin-arm64 • macOS 14.2.1 23C71 darwin-arm64
• Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 14.2.1 23C71 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 127.0.6533.89
[✓] Network resources
• All expected network resources are available.
! Doctor found issues in 1 category.
Any other additional information.
This is iOS if it makes a difference, running on a iPhone 15 Pro emulator with iOS 17.5
The text was updated successfully, but these errors were encountered:
Describe the bug
The customWidths property is not being honored. I saw this already opened here but they did not give more info. I have a reproducible case (I believe).
To Reproduce
Expected behavior
It seems the width is sometimes expanded, but other times it is ignored. For instance, the one above that is 200, if I change it to 150 it is the same size. 100 is even the same size as all the others. The max width of the screen is 393, so I don't think that is an issue. It is not in any padding, just a column inside a scaffold body.
Screenshots

If at 200:
If at 150:

If at 65.0 to match the neighbors it does shrink and matches them:

Additional information
toggle_switch
version2.3.0
flutter doctor -v
This is iOS if it makes a difference, running on a iPhone 15 Pro emulator with iOS 17.5
The text was updated successfully, but these errors were encountered: