Add fix for RectangularSliderTrackShape (#78658)

This commit is contained in:
Kate Lovett
2021-03-23 14:26:03 -05:00
committed by GitHub
parent 00592ceb27
commit bde6b162a0
3 changed files with 17 additions and 2 deletions

View File

@@ -12,6 +12,17 @@
version: 1
transforms:
# Changes made in https://github.com/flutter/flutter/pull/65246
- title: "Remove 'disabledThumbGapWidth'"
date: 2020-11-17
element:
uris: [ 'material.dart' ]
constructor: ''
inClass: 'RectangularSliderTrackShape'
changes:
- kind: 'removeParameter'
name: 'disabledThumbGapWidth'
# Changes made in https://github.com/flutter/flutter/pull/46115
- title: "Migrate to 'floatingLabelBehavior'"
date: 2020-01-15

View File

@@ -179,6 +179,9 @@ void main() {
const BottomNavigationBarItem bottomNavigationBarItem = BottomNavigationBarItem(title: myTitle);
bottomNavigationBarItem.title;
// Changes made in https://github.com/flutter/flutter/pull/65246
RectangularSliderTrackShape(disabledThumbGapWidth: 2.0);
// Changes made in https://github.com/flutter/flutter/pull/46115
const InputDecoration inputDecoration = InputDecoration(hasFloatingPlaceholder: true);
InputDecoration(hasFloatingPlaceholder: false);
@@ -191,6 +194,4 @@ void main() {
InputDecorationTheme(hasFloatingPlaceholder: false);
InputDecorationTheme();
inputDecorationTheme.hasFloatingPlaceholder;
}

View File

@@ -179,6 +179,9 @@ void main() {
const BottomNavigationBarItem bottomNavigationBarItem = BottomNavigationBarItem(label: myTitle);
bottomNavigationBarItem.label;
// Changes made in https://github.com/flutter/flutter/pull/65246
RectangularSliderTrackShape();
// Changes made in https://github.com/flutter/flutter/pull/46115
const InputDecoration inputDecoration = InputDecoration(floatingLabelBehavior: FloatingLabelBehavior.auto);
InputDecoration(floatingLabelBehavior: FloatingLabelBehavior.never);