Added 'physics' prop to Stepper. (#26297)
* Update stepper.dart Added 'physics' prop which allows the developer to assign the Stepper's scroll view's 'ScrollPhysics' which can solve with unwanted scrolling behaviour if the parent is also a scroll view. Defaults to 'AlwaysScrollableScrollPhysics' if null. * Update stepper.dart Removed unnecessary import and defaulting to 'AlwaysScrollableScrollPhysics' if physics prop is null. * Update stepper.dart Ran through format to remove unwanted whitespace which Analysis isn't happy about. * Update stepper.dart Tried reformatting again. * Update stepper.dart Tried reformatting again. * Update stepper.dart Formatting again why do you hate me github editor. * Update stepper.dart * Update stepper.dart if this format doesn't work i'll cry * Update stepper_test.dart Added Stepper scroll tests. One that fails to find Text after Stepper if physics left as null and one that succeeds if physics set to `ClampingScrollPhysics()` * Update stepper_test.dart Added const constructors * Update stepper_test.dart trying to get rid of whitespace again * Update stepper_test.dart * Update stepper_test.dart why whitespace why * Update stepper_test.dart * Update stepper_test.dart * Update stepper_test.dart * Update stepper_test.dart Swapped to `findsNothing` because I'm an idiot. * Update stepper_test.dart * Update stepper.dart
Showing
Please register or sign in to comment