forked from firka/flutter
Add fix for RectangularSliderTrackShape (#78658)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user