| # Copyright 2014 The Flutter Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| # For details regarding the *Flutter Fix* feature, see |
| # https://flutter.dev/docs/development/tools/flutter-fix |
| |
| # Please add new fixes to the top of the file, separated by one blank line |
| # from other fixes. In a comment, include a link to the PR where the change |
| # requiring the fix was made. |
| |
| # Every fix must be tested. See the flutter/packages/flutter/test_fixes/README.md |
| # file for instructions on testing these data driven fixes. |
| |
| # For documentation about this file format, see |
| # https://dart.dev/go/data-driven-fixes. |
| |
| version: 1 |
| transforms: |
| # Changes made in https://github.com/flutter/flutter/pull/78588 |
| - title: "Migrate to 'buildOverscrollIndicator'" |
| date: 2021-03-18 |
| element: |
| uris: ['widgets.dart', 'material.dart', 'cupertino.dart'] |
| method: 'buildViewportChrome' |
| inClass: 'ScrollBehavior' |
| changes: |
| - kind: 'rename' |
| newName: 'buildOverscrollIndicator' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/78588 |
| - title: "Migrate to 'buildOverscrollIndicator'" |
| date: 2021-03-18 |
| element: |
| uris: ['material.dart'] |
| method: 'buildViewportChrome' |
| inClass: 'MaterialScrollBehavior' |
| changes: |
| - kind: 'rename' |
| newName: 'buildOverscrollIndicator' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/78588 |
| - title: "Migrate to 'buildOverscrollIndicator'" |
| date: 2021-03-18 |
| element: |
| uris: ['cupertino.dart'] |
| method: 'buildViewportChrome' |
| inClass: 'CupertinoScrollBehavior' |
| changes: |
| - kind: 'rename' |
| newName: 'buildOverscrollIndicator' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/111706 |
| - title: "Migrate to 'trackVisibility'" |
| date: 2022-09-15 |
| element: |
| uris: [ 'material.dart' ] |
| field: 'showTrackOnHover' |
| inClass: 'Scrollbar' |
| changes: |
| - kind: 'rename' |
| newName: 'trackVisibility' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/111706 |
| - title: "Migrate to 'trackVisibility'" |
| date: 2022-09-15 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: '' |
| inClass: 'Scrollbar' |
| changes: |
| - kind: 'renameParameter' |
| oldName: 'showTrackOnHover' |
| newName: 'trackVisibility' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/111706 |
| - title: "Migrate to 'trackVisibility'" |
| date: 2022-09-15 |
| element: |
| uris: [ 'material.dart' ] |
| field: 'showTrackOnHover' |
| inClass: 'ScrollbarThemeData' |
| changes: |
| - kind: 'rename' |
| newName: 'trackVisibility' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/111706 |
| - title: "Migrate to 'thumbVisibility'" |
| date: 2022-09-15 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: '' |
| inClass: 'ScrollbarThemeData' |
| changes: |
| - kind: 'renameParameter' |
| oldName: 'showTrackOnHover' |
| newName: 'trackVisibility' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/111706 |
| - title: "Migrate to 'trackVisibility'" |
| date: 2022-09-15 |
| element: |
| uris: [ 'material.dart' ] |
| method: 'copyWith' |
| inClass: 'ScrollbarThemeData' |
| changes: |
| - kind: 'renameParameter' |
| oldName: 'showTrackOnHover' |
| newName: 'trackVisibility' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/111080 |
| - title: "Migrate to 'BottomAppBarTheme.color'" |
| date: 2022-09-07 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: '' |
| inClass: 'ThemeData' |
| oneOf: |
| - if: "bottomAppBarColor != ''" |
| changes: |
| - kind: 'removeParameter' |
| name: 'bottomAppBarColor' |
| - kind: 'addParameter' |
| index: 73 |
| name: 'bottomAppBarTheme' |
| style: optional_named |
| argumentValue: |
| expression: 'BottomAppBarTheme(color: {% bottomAppBarColor %})' |
| requiredIf: "bottomAppBarColor != ''" |
| variables: |
| bottomAppBarColor: |
| kind: 'fragment' |
| value: 'arguments[bottomAppBarColor]' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/111080 |
| - title: "Migrate to 'BottomAppBarTheme.color'" |
| date: 2022-09-07 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: 'raw' |
| inClass: 'ThemeData' |
| oneOf: |
| - if: "bottomAppBarColor != ''" |
| changes: |
| - kind: 'removeParameter' |
| name: 'bottomAppBarColor' |
| - kind: 'addParameter' |
| index: 73 |
| name: 'bottomAppBarTheme' |
| style: optional_named |
| argumentValue: |
| expression: 'BottomAppBarTheme(color: {% bottomAppBarColor %})' |
| requiredIf: "bottomAppBarColor != ''" |
| variables: |
| bottomAppBarColor: |
| kind: 'fragment' |
| value: 'arguments[bottomAppBarColor]' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/111080 |
| - title: "Migrate to 'BottomAppBarTheme.color'" |
| date: 2022-09-06 |
| element: |
| uris: [ 'material.dart' ] |
| method: 'copyWith' |
| inClass: 'ThemeData' |
| oneOf: |
| - if: "bottomAppBarColor != ''" |
| changes: |
| - kind: 'removeParameter' |
| name: 'bottomAppBarColor' |
| - kind: 'addParameter' |
| index: 73 |
| name: 'bottomAppBarTheme' |
| style: optional_named |
| argumentValue: |
| expression: 'BottomAppBarTheme(color: {% bottomAppBarColor %})' |
| requiredIf: "bottomAppBarColor != ''" |
| variables: |
| bottomAppBarColor: |
| kind: 'fragment' |
| value: 'arguments[bottomAppBarColor]' |
| |
| |
| |
| # Changes made in https://github.com/flutter/flutter/pull/110162 |
| - title: "Migrate to 'ColorScheme.background'" |
| date: 2022-08-24 |
| element: |
| uris: [ 'material.dart' ] |
| field: 'backgroundColor' |
| inClass: 'ThemeData' |
| changes: |
| - kind: 'rename' |
| newName: 'colorScheme.background' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/110162 |
| - title: "Migrate to 'ColorScheme.background'" |
| date: 2022-08-24 |
| element: |
| uris: [ 'material.dart' ] |
| method: 'copyWith' |
| inClass: 'ThemeData' |
| oneOf: |
| - if: "backgroundColor != '' && primarySwatch == '' && colorScheme == ''" |
| changes: |
| - kind: 'addParameter' |
| index: 56 |
| name: 'colorScheme' |
| style: optional_named |
| argumentValue: |
| expression: 'ColorScheme(background: {% backgroundColor %})' |
| requiredIf: "backgroundColor != '' && primarySwatch == '' && colorScheme ==''" |
| - kind: 'removeParameter' |
| name: 'backgroundColor' |
| - if: "backgroundColor != '' && primarySwatch != '' && colorScheme == ''" |
| changes: |
| - kind: 'addParameter' |
| index: 56 |
| name: 'colorScheme' |
| style: optional_named |
| argumentValue: |
| expression: 'ColorScheme.fromSwatch(primarySwatch: {% primarySwatch %}).copyWith(background: {% backgroundColor %})' |
| requiredIf: "backgroundColor != '' && primarySwatch != '' && colorScheme == ''" |
| - kind: 'removeParameter' |
| name: 'backgroundColor' |
| - kind: 'removeParameter' |
| name: 'primarySwatch' |
| - if: "backgroundColor != '' && primarySwatch == '' && colorScheme != ''" |
| changes: |
| - kind: 'removeParameter' |
| name: 'colorScheme' # Remove to add back with modification |
| - kind: 'addParameter' |
| index: 56 |
| name: 'colorScheme' |
| style: optional_named |
| argumentValue: |
| expression: '{% colorScheme %}.copyWith(background: {% backgroundColor %})' |
| requiredIf: "backgroundColor != '' && primarySwatch == '' && colorScheme != ''" |
| - kind: 'removeParameter' |
| name: 'backgroundColor' |
| - if: "backgroundColor != '' && primarySwatch != '' && colorScheme != ''" |
| changes: |
| - kind: 'removeParameter' |
| name: 'colorScheme' # Remove to add back with modification |
| - kind: 'addParameter' |
| index: 56 |
| name: 'colorScheme' |
| style: optional_named |
| argumentValue: |
| expression: '{% colorScheme %}.copyWith(primarySwatch: {% primarySwatch %}, background: {% backgroundColor %})' |
| requiredIf: "backgroundColor != '' && primarySwatch != '' && colorScheme != ''" |
| - kind: 'removeParameter' |
| name: 'backgroundColor' |
| - kind: 'removeParameter' |
| name: 'primarySwatch' |
| variables: |
| backgroundColor: |
| kind: 'fragment' |
| value: 'arguments[backgroundColor]' |
| primarySwatch: |
| kind: 'fragment' |
| value: 'arguments[primarySwatch]' |
| colorScheme: |
| kind: 'fragment' |
| value: 'arguments[colorScheme]' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/110162 |
| - title: "Migrate to 'ColorScheme.background'" |
| date: 2022-08-24 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: 'raw' |
| inClass: 'ThemeData' |
| oneOf: |
| - if: "backgroundColor != '' && primarySwatch == '' && colorScheme == ''" |
| changes: |
| - kind: 'addParameter' |
| index: 56 |
| name: 'colorScheme' |
| style: optional_named |
| argumentValue: |
| expression: 'ColorScheme(background: {% backgroundColor %})' |
| requiredIf: "backgroundColor != '' && primarySwatch == '' && colorScheme ==''" |
| - kind: 'removeParameter' |
| name: 'backgroundColor' |
| - if: "backgroundColor != '' && primarySwatch != '' && colorScheme == ''" |
| changes: |
| - kind: 'addParameter' |
| index: 56 |
| name: 'colorScheme' |
| style: optional_named |
| argumentValue: |
| expression: 'ColorScheme.fromSwatch(primarySwatch: {% primarySwatch %}).copyWith(background: {% backgroundColor %})' |
| requiredIf: "backgroundColor != '' && primarySwatch != '' && colorScheme == ''" |
| - kind: 'removeParameter' |
| name: 'backgroundColor' |
| - kind: 'removeParameter' |
| name: 'primarySwatch' |
| - if: "backgroundColor != '' && primarySwatch == '' && colorScheme != ''" |
| changes: |
| - kind: 'removeParameter' |
| name: 'colorScheme' # Remove to add back with modification |
| - kind: 'addParameter' |
| index: 56 |
| name: 'colorScheme' |
| style: optional_named |
| argumentValue: |
| expression: '{% colorScheme %}.copyWith(background: {% backgroundColor %})' |
| requiredIf: "backgroundColor != '' && primarySwatch == '' && colorScheme != ''" |
| - kind: 'removeParameter' |
| name: 'backgroundColor' |
| - if: "backgroundColor != '' && primarySwatch != '' && colorScheme != ''" |
| changes: |
| - kind: 'removeParameter' |
| name: 'colorScheme' # Remove to add back with modification |
| - kind: 'addParameter' |
| index: 56 |
| name: 'colorScheme' |
| style: optional_named |
| argumentValue: |
| expression: '{% colorScheme %}.copyWith(primarySwatch: {% primarySwatch %}, background: {% backgroundColor %})' |
| requiredIf: "backgroundColor != '' && primarySwatch != '' && colorScheme != ''" |
| - kind: 'removeParameter' |
| name: 'backgroundColor' |
| - kind: 'removeParameter' |
| name: 'primarySwatch' |
| variables: |
| backgroundColor: |
| kind: 'fragment' |
| value: 'arguments[backgroundColor]' |
| primarySwatch: |
| kind: 'fragment' |
| value: 'arguments[primarySwatch]' |
| colorScheme: |
| kind: 'fragment' |
| value: 'arguments[colorScheme]' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/110162 |
| - title: "Migrate to 'ColorScheme.background'" |
| date: 2022-08-24 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: '' |
| inClass: 'ThemeData' |
| oneOf: |
| - if: "backgroundColor != '' && primarySwatch == '' && colorScheme == ''" |
| changes: |
| - kind: 'addParameter' |
| index: 56 |
| name: 'colorScheme' |
| style: optional_named |
| argumentValue: |
| expression: 'ColorScheme(background: {% backgroundColor %})' |
| requiredIf: "backgroundColor != '' && primarySwatch == '' && colorScheme == ''" |
| - kind: 'removeParameter' |
| name: 'backgroundColor' |
| - if: "backgroundColor != '' && primarySwatch != '' && colorScheme == ''" |
| changes: |
| - kind: 'addParameter' |
| index: 56 |
| name: 'colorScheme' |
| style: optional_named |
| argumentValue: |
| expression: 'ColorScheme.fromSwatch(primarySwatch: {% primarySwatch %}).copyWith(background: {% backgroundColor %})' |
| requiredIf: "backgroundColor != '' && primarySwatch != '' && colorScheme == ''" |
| - kind: 'removeParameter' |
| name: 'backgroundColor' |
| - kind: 'removeParameter' |
| name: 'primarySwatch' |
| - if: "backgroundColor != '' && primarySwatch == '' && colorScheme != ''" |
| changes: |
| - kind: 'removeParameter' |
| name: 'colorScheme' # Remove to add back with modification |
| - kind: 'addParameter' |
| index: 56 |
| name: 'colorScheme' |
| style: optional_named |
| argumentValue: |
| expression: '{% colorScheme %}.copyWith(background: {% backgroundColor %})' |
| requiredIf: "backgroundColor != '' && primarySwatch == '' && colorScheme != ''" |
| - kind: 'removeParameter' |
| name: 'backgroundColor' |
| - if: "backgroundColor != '' && primarySwatch != '' && colorScheme != ''" |
| changes: |
| - kind: 'removeParameter' |
| name: 'colorScheme' # Remove to add back with modification |
| - kind: 'addParameter' |
| index: 56 |
| name: 'colorScheme' |
| style: optional_named |
| argumentValue: |
| expression: '{% colorScheme %}.copyWith(primarySwatch: {% primarySwatch %}, background: {% backgroundColor %})' |
| requiredIf: "backgroundColor != '' && primarySwatch != '' && colorScheme != ''" |
| - kind: 'removeParameter' |
| name: 'backgroundColor' |
| - kind: 'removeParameter' |
| name: 'primarySwatch' |
| variables: |
| backgroundColor: |
| kind: 'fragment' |
| value: 'arguments[backgroundColor]' |
| primarySwatch: |
| kind: 'fragment' |
| value: 'arguments[primarySwatch]' |
| colorScheme: |
| kind: 'fragment' |
| value: 'arguments[colorScheme]' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/110162 |
| - title: "Migrate to 'ColorScheme.error'" |
| date: 2022-08-24 |
| element: |
| uris: [ 'material.dart' ] |
| field: 'errorColor' |
| inClass: 'ThemeData' |
| changes: |
| - kind: 'rename' |
| newName: 'colorScheme.error' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/110162 |
| - title: "Migrate to 'ColorScheme.error'" |
| date: 2022-08-24 |
| element: |
| uris: [ 'material.dart' ] |
| method: 'copyWith' |
| inClass: 'ThemeData' |
| oneOf: |
| - if: "errorColor != '' && primarySwatch == '' && colorScheme == ''" |
| changes: |
| - kind: 'addParameter' |
| index: 56 |
| name: 'colorScheme' |
| style: optional_named |
| argumentValue: |
| expression: 'ColorScheme(error: {% errorColor %})' |
| requiredIf: "errorColor != '' && primarySwatch == '' && colorScheme ==''" |
| - kind: 'removeParameter' |
| name: 'errorColor' |
| - if: "errorColor != '' && primarySwatch != '' && colorScheme == ''" |
| changes: |
| - kind: 'addParameter' |
| index: 56 |
| name: 'colorScheme' |
| style: optional_named |
| argumentValue: |
| expression: 'ColorScheme.fromSwatch(primarySwatch: {% primarySwatch %}).copyWith(error: {% errorColor %})' |
| requiredIf: "errorColor != '' && primarySwatch != '' && colorScheme == ''" |
| - kind: 'removeParameter' |
| name: 'errorColor' |
| - kind: 'removeParameter' |
| name: 'primarySwatch' |
| - if: "errorColor != '' && primarySwatch == '' && colorScheme != ''" |
| changes: |
| - kind: 'removeParameter' |
| name: 'colorScheme' # Remove to add back with modification |
| - kind: 'addParameter' |
| index: 56 |
| name: 'colorScheme' |
| style: optional_named |
| argumentValue: |
| expression: '{% colorScheme %}.copyWith(error: {% errorColor %})' |
| requiredIf: "errorColor != '' && primarySwatch == '' && colorScheme != ''" |
| - kind: 'removeParameter' |
| name: 'errorColor' |
| - if: "errorColor != '' && primarySwatch != '' && colorScheme != ''" |
| changes: |
| - kind: 'removeParameter' |
| name: 'colorScheme' # Remove to add back with modification |
| - kind: 'addParameter' |
| index: 56 |
| name: 'colorScheme' |
| style: optional_named |
| argumentValue: |
| expression: '{% colorScheme %}.copyWith(primarySwatch: {% primarySwatch %}, error: {% errorColor %})' |
| requiredIf: "errorColor != '' && primarySwatch != '' && colorScheme != ''" |
| - kind: 'removeParameter' |
| name: 'errorColor' |
| - kind: 'removeParameter' |
| name: 'primarySwatch' |
| variables: |
| errorColor: |
| kind: 'fragment' |
| value: 'arguments[errorColor]' |
| primarySwatch: |
| kind: 'fragment' |
| value: 'arguments[primarySwatch]' |
| colorScheme: |
| kind: 'fragment' |
| value: 'arguments[colorScheme]' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/110162 |
| - title: "Migrate to 'ColorScheme.error'" |
| date: 2022-08-24 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: 'raw' |
| inClass: 'ThemeData' |
| oneOf: |
| - if: "errorColor != '' && primarySwatch == '' && colorScheme == ''" |
| changes: |
| - kind: 'addParameter' |
| index: 56 |
| name: 'colorScheme' |
| style: optional_named |
| argumentValue: |
| expression: 'ColorScheme(error: {% errorColor %})' |
| requiredIf: "errorColor != '' && primarySwatch == '' && colorScheme ==''" |
| - kind: 'removeParameter' |
| name: 'errorColor' |
| - if: "errorColor != '' && primarySwatch != '' && colorScheme == ''" |
| changes: |
| - kind: 'addParameter' |
| index: 56 |
| name: 'colorScheme' |
| style: optional_named |
| argumentValue: |
| expression: 'ColorScheme.fromSwatch(primarySwatch: {% primarySwatch %}).copyWith(error: {% errorColor %})' |
| requiredIf: "errorColor != '' && primarySwatch != '' && colorScheme == ''" |
| - kind: 'removeParameter' |
| name: 'errorColor' |
| - kind: 'removeParameter' |
| name: 'primarySwatch' |
| - if: "errorColor != '' && primarySwatch == '' && colorScheme != ''" |
| changes: |
| - kind: 'removeParameter' |
| name: 'colorScheme' # Remove to add back with modification |
| - kind: 'addParameter' |
| index: 56 |
| name: 'colorScheme' |
| style: optional_named |
| argumentValue: |
| expression: '{% colorScheme %}.copyWith(error: {% errorColor %})' |
| requiredIf: "errorColor != '' && primarySwatch == '' && colorScheme != ''" |
| - kind: 'removeParameter' |
| name: 'errorColor' |
| - if: "errorColor != '' && primarySwatch != '' && colorScheme != ''" |
| changes: |
| - kind: 'removeParameter' |
| name: 'colorScheme' # Remove to add back with modification |
| - kind: 'addParameter' |
| index: 56 |
| name: 'colorScheme' |
| style: optional_named |
| argumentValue: |
| expression: '{% colorScheme %}.copyWith(primarySwatch: {% primarySwatch %}, error: {% errorColor %})' |
| requiredIf: "errorColor != '' && primarySwatch != '' && colorScheme != ''" |
| - kind: 'removeParameter' |
| name: 'errorColor' |
| - kind: 'removeParameter' |
| name: 'primarySwatch' |
| variables: |
| errorColor: |
| kind: 'fragment' |
| value: 'arguments[errorColor]' |
| primarySwatch: |
| kind: 'fragment' |
| value: 'arguments[primarySwatch]' |
| colorScheme: |
| kind: 'fragment' |
| value: 'arguments[colorScheme]' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/110162 |
| - title: "Migrate to 'ColorScheme.error'" |
| date: 2022-08-24 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: '' |
| inClass: 'ThemeData' |
| oneOf: |
| - if: "errorColor != '' && primarySwatch == '' && colorScheme == ''" |
| changes: |
| - kind: 'addParameter' |
| index: 56 |
| name: 'colorScheme' |
| style: optional_named |
| argumentValue: |
| expression: 'ColorScheme(error: {% errorColor %})' |
| requiredIf: "errorColor != '' && primarySwatch == '' && colorScheme ==''" |
| - kind: 'removeParameter' |
| name: 'errorColor' |
| - if: "errorColor != '' && primarySwatch != '' && colorScheme == ''" |
| changes: |
| - kind: 'addParameter' |
| index: 56 |
| name: 'colorScheme' |
| style: optional_named |
| argumentValue: |
| expression: 'ColorScheme.fromSwatch(primarySwatch: {% primarySwatch %}).copyWith(error: {% errorColor %})' |
| requiredIf: "errorColor != '' && primarySwatch != '' && colorScheme == ''" |
| - kind: 'removeParameter' |
| name: 'errorColor' |
| - kind: 'removeParameter' |
| name: 'primarySwatch' |
| - if: "errorColor != '' && primarySwatch == '' && colorScheme != ''" |
| changes: |
| - kind: 'removeParameter' |
| name: 'colorScheme' # Remove to add back with modification |
| - kind: 'addParameter' |
| index: 56 |
| name: 'colorScheme' |
| style: optional_named |
| argumentValue: |
| expression: '{% colorScheme %}.copyWith(error: {% errorColor %})' |
| requiredIf: "errorColor != '' && primarySwatch == '' && colorScheme != ''" |
| - kind: 'removeParameter' |
| name: 'errorColor' |
| - if: "errorColor != '' && primarySwatch != '' && colorScheme != ''" |
| changes: |
| - kind: 'removeParameter' |
| name: 'colorScheme' # Remove to add back with modification |
| - kind: 'addParameter' |
| index: 56 |
| name: 'colorScheme' |
| style: optional_named |
| argumentValue: |
| expression: '{% colorScheme %}.copyWith(primarySwatch: {% primarySwatch %}, error: {% errorColor %})' |
| requiredIf: "errorColor != '' && primarySwatch != '' && colorScheme != ''" |
| - kind: 'removeParameter' |
| name: 'errorColor' |
| - kind: 'removeParameter' |
| name: 'primarySwatch' |
| variables: |
| errorColor: |
| kind: 'fragment' |
| value: 'arguments[errorColor]' |
| primarySwatch: |
| kind: 'fragment' |
| value: 'arguments[primarySwatch]' |
| colorScheme: |
| kind: 'fragment' |
| value: 'arguments[colorScheme]' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/109817 |
| - title: "Rename to 'displayLarge'" |
| date: 2022-08-18 |
| element: |
| uris: [ 'material.dart' ] |
| getter: headline1 |
| inClass: 'TextTheme' |
| changes: |
| - kind: 'rename' |
| newName: 'displayLarge' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/109817 |
| - title: "Rename to 'displayMedium'" |
| date: 2022-08-18 |
| element: |
| uris: [ 'material.dart' ] |
| getter: headline2 |
| inClass: 'TextTheme' |
| changes: |
| - kind: 'rename' |
| newName: 'displayMedium' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/109817 |
| - title: "Rename to 'displaySmall'" |
| date: 2022-08-18 |
| element: |
| uris: [ 'material.dart' ] |
| getter: headline3 |
| inClass: 'TextTheme' |
| changes: |
| - kind: 'rename' |
| newName: 'displaySmall' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/109817 |
| - title: "Rename to 'headlineMedium'" |
| date: 2022-08-18 |
| element: |
| uris: [ 'material.dart' ] |
| getter: headline4 |
| inClass: 'TextTheme' |
| changes: |
| - kind: 'rename' |
| newName: 'headlineMedium' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/109817 |
| - title: "Rename to 'headlineSmall'" |
| date: 2022-08-18 |
| element: |
| uris: [ 'material.dart' ] |
| getter: headline5 |
| inClass: 'TextTheme' |
| changes: |
| - kind: 'rename' |
| newName: 'headlineSmall' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/109817 |
| - title: "Rename to 'titleLarge'" |
| date: 2022-08-18 |
| element: |
| uris: [ 'material.dart' ] |
| getter: headline6 |
| inClass: 'TextTheme' |
| changes: |
| - kind: 'rename' |
| newName: 'titleLarge' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/109817 |
| - title: "Rename to 'titleMedium'" |
| date: 2022-08-18 |
| element: |
| uris: [ 'material.dart' ] |
| getter: subtitle1 |
| inClass: 'TextTheme' |
| changes: |
| - kind: 'rename' |
| newName: 'titleMedium' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/109817 |
| - title: "Rename to 'titleSmall'" |
| date: 2022-08-18 |
| element: |
| uris: [ 'material.dart' ] |
| getter: subtitle2 |
| inClass: 'TextTheme' |
| changes: |
| - kind: 'rename' |
| newName: 'titleSmall' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/109817 |
| - title: "Rename to 'bodyLarge'" |
| date: 2022-08-18 |
| element: |
| uris: [ 'material.dart' ] |
| getter: bodyText1 |
| inClass: 'TextTheme' |
| changes: |
| - kind: 'rename' |
| newName: 'bodyLarge' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/109817 |
| - title: "Rename to 'bodyMedium'" |
| date: 2022-08-18 |
| element: |
| uris: [ 'material.dart' ] |
| getter: bodyText2 |
| inClass: 'TextTheme' |
| changes: |
| - kind: 'rename' |
| newName: 'bodyMedium' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/109817 |
| - title: "Rename to 'bodySmall'" |
| date: 2022-08-18 |
| element: |
| uris: [ 'material.dart' ] |
| getter: caption |
| inClass: 'TextTheme' |
| changes: |
| - kind: 'rename' |
| newName: 'bodySmall' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/109817 |
| - title: "Rename to 'labelLarge'" |
| date: 2022-08-18 |
| element: |
| uris: [ 'material.dart' ] |
| getter: button |
| inClass: 'TextTheme' |
| changes: |
| - kind: 'rename' |
| newName: 'labelLarge' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/109817 |
| - title: "Rename to 'labelSmall'" |
| date: 2022-08-18 |
| element: |
| uris: [ 'material.dart' ] |
| getter: overline |
| inClass: 'TextTheme' |
| changes: |
| - kind: 'rename' |
| newName: 'labelSmall' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/109817 |
| - title: 'Rename arguments' |
| date: 2022-08-18 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: '' |
| inClass: 'TextTheme' |
| changes: |
| - kind: 'renameParameter' |
| oldName: 'headline1' |
| newName: 'displayLarge' |
| - kind: 'renameParameter' |
| oldName: 'headline2' |
| newName: 'displayMedium' |
| - kind: 'renameParameter' |
| oldName: 'headline3' |
| newName: 'displaySmall' |
| - kind: 'renameParameter' |
| oldName: 'headline4' |
| newName: 'headlineMedium' |
| - kind: 'renameParameter' |
| oldName: 'headline5' |
| newName: 'headlineSmall' |
| - kind: 'renameParameter' |
| oldName: 'headline6' |
| newName: 'titleLarge' |
| - kind: 'renameParameter' |
| oldName: 'subtitle1' |
| newName: 'titleMedium' |
| - kind: 'renameParameter' |
| oldName: 'subtitle2' |
| newName: 'titleSmall' |
| - kind: 'renameParameter' |
| oldName: 'bodyText1' |
| newName: 'bodyLarge' |
| - kind: 'renameParameter' |
| oldName: 'bodyText2' |
| newName: 'bodyMedium' |
| - kind: 'renameParameter' |
| oldName: 'caption' |
| newName: 'bodySmall' |
| - kind: 'renameParameter' |
| oldName: 'button' |
| newName: 'labelLarge' |
| - kind: 'renameParameter' |
| oldName: 'overline' |
| newName: 'labelSmall' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/109817 |
| - title: 'Rename arguments' |
| date: 2022-08-18 |
| element: |
| uris: [ 'material.dart' ] |
| method: 'copyWith' |
| inClass: 'TextTheme' |
| changes: |
| - kind: 'renameParameter' |
| oldName: 'headline1' |
| newName: 'displayLarge' |
| - kind: 'renameParameter' |
| oldName: 'headline2' |
| newName: 'displayMedium' |
| - kind: 'renameParameter' |
| oldName: 'headline3' |
| newName: 'displaySmall' |
| - kind: 'renameParameter' |
| oldName: 'headline4' |
| newName: 'headlineMedium' |
| - kind: 'renameParameter' |
| oldName: 'headline5' |
| newName: 'headlineSmall' |
| - kind: 'renameParameter' |
| oldName: 'headline6' |
| newName: 'titleLarge' |
| - kind: 'renameParameter' |
| oldName: 'subtitle1' |
| newName: 'titleMedium' |
| - kind: 'renameParameter' |
| oldName: 'subtitle2' |
| newName: 'titleSmall' |
| - kind: 'renameParameter' |
| oldName: 'bodyText1' |
| newName: 'bodyLarge' |
| - kind: 'renameParameter' |
| oldName: 'bodyText2' |
| newName: 'bodyMedium' |
| - kind: 'renameParameter' |
| oldName: 'caption' |
| newName: 'bodySmall' |
| - kind: 'renameParameter' |
| oldName: 'button' |
| newName: 'labelLarge' |
| - kind: 'renameParameter' |
| oldName: 'overline' |
| newName: 'labelSmall' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/109070 |
| - title: "Remove 'selectedRowColor'" |
| date: 2022-08-05 |
| element: |
| uris: [ 'material.dart' ] |
| method: 'copyWith' |
| inClass: 'ThemeData' |
| changes: |
| - kind: 'removeParameter' |
| name: 'selectedRowColor' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/109070 |
| - title: "Remove 'selectedRowColor'" |
| date: 2022-08-05 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: 'raw' |
| inClass: 'ThemeData' |
| changes: |
| - kind: 'removeParameter' |
| name: 'selectedRowColor' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/109070 |
| - title: "Remove 'selectedRowColor'" |
| date: 2022-08-05 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: '' |
| inClass: 'ThemeData' |
| changes: |
| - kind: 'removeParameter' |
| name: 'selectedRowColor' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/97972/ |
| - title: "Migrate 'ThemeData.toggleableActiveColor' to individual themes" |
| date: 2022-05-18 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: '' |
| inClass: 'ThemeData' |
| changes: |
| - kind: 'removeParameter' |
| name: 'toggleableActiveColor' |
| - kind: 'addParameter' |
| index: 96 |
| name: 'checkboxTheme' |
| style: optional_named |
| argumentValue: |
| expression: "CheckboxThemeData(\n |
| fillColor: MaterialStateProperty.resolveWith<Color?>((Set<MaterialState> states) {\n |
| if (states.contains(MaterialState.disabled)) { |
| return null; |
| }\n |
| if (states.contains(MaterialState.selected)) { |
| return {% toggleableActiveColor %}; |
| }\n |
| return null;\n |
| }),\n |
| )" |
| requiredIf: "toggleableActiveColor != '' && checkboxTheme == ''" |
| - kind: 'addParameter' |
| index: 97 |
| name: 'checkboxTheme' |
| style: optional_named |
| argumentValue: |
| expression: "{% checkboxTheme %}.copyWith(\n |
| fillColor: MaterialStateProperty.resolveWith<Color?>((Set<MaterialState> states) {\n |
| if (states.contains(MaterialState.disabled)) { |
| return null; |
| }\n |
| if (states.contains(MaterialState.selected)) { |
| return {% toggleableActiveColor %}; |
| }\n |
| return null;\n |
| }),\n |
| )" |
| requiredIf: "toggleableActiveColor != '' && checkboxTheme != ''" |
| - kind: 'addParameter' |
| index: 98 |
| name: 'radioTheme' |
| style: optional_named |
| argumentValue: |
| expression: "RadioThemeData(\n |
| fillColor: MaterialStateProperty.resolveWith<Color?>((Set<MaterialState> states) {\n |
| if (states.contains(MaterialState.disabled)) { |
| return null; |
| }\n |
| if (states.contains(MaterialState.selected)) { |
| return {% toggleableActiveColor %}; |
| }\n |
| return null;\n |
| }),\n |
| )" |
| requiredIf: "toggleableActiveColor != '' && radioTheme == ''" |
| - kind: 'addParameter' |
| index: 99 |
| name: 'radioTheme' |
| style: optional_named |
| argumentValue: |
| expression: "{% radioTheme %}.copyWith(\n |
| fillColor: MaterialStateProperty.resolveWith<Color?>((Set<MaterialState> states) {\n |
| if (states.contains(MaterialState.disabled)) { |
| return null; |
| }\n |
| if (states.contains(MaterialState.selected)) { |
| return {% toggleableActiveColor %}; |
| }\n |
| return null;\n |
| }),\n |
| )" |
| requiredIf: "toggleableActiveColor != '' && radioTheme != ''" |
| - kind: 'addParameter' |
| index: 100 |
| name: 'switchTheme' |
| style: optional_named |
| argumentValue: |
| expression: "SwitchThemeData(\n |
| thumbColor: MaterialStateProperty.resolveWith<Color?>((Set<MaterialState> states) {\n |
| if (states.contains(MaterialState.disabled)) { |
| return null; |
| }\n |
| if (states.contains(MaterialState.selected)) { |
| return {% toggleableActiveColor %}; |
| }\n |
| return null;\n |
| }),\n |
| trackColor: MaterialStateProperty.resolveWith<Color?>((Set<MaterialState> states) {\n |
| if (states.contains(MaterialState.disabled)) { |
| return null; |
| }\n |
| if (states.contains(MaterialState.selected)) { |
| return {% toggleableActiveColor %}; |
| }\n |
| return null;\n |
| }),\n |
| )" |
| requiredIf: "toggleableActiveColor != '' && switchTheme == ''" |
| - kind: 'addParameter' |
| index: 101 |
| name: 'switchTheme' |
| style: optional_named |
| argumentValue: |
| expression: "{% switchTheme %}.copyWith(\n |
| thumbColor: MaterialStateProperty.resolveWith<Color?>((Set<MaterialState> states) {\n |
| if (states.contains(MaterialState.disabled)) { |
| return null; |
| }\n |
| if (states.contains(MaterialState.selected)) { |
| return {% toggleableActiveColor %}; |
| }\n |
| return null;\n |
| }),\n |
| trackColor: MaterialStateProperty.resolveWith<Color?>((Set<MaterialState> states) {\n |
| if (states.contains(MaterialState.disabled)) { |
| return null; |
| }\n |
| if (states.contains(MaterialState.selected)) { |
| return {% toggleableActiveColor %}; |
| }\n |
| return null;\n |
| }),\n |
| )" |
| requiredIf: "toggleableActiveColor != '' && switchTheme != ''" |
| variables: |
| checkboxTheme: |
| kind: 'fragment' |
| value: 'arguments[checkboxTheme]' |
| radioTheme: |
| kind: 'fragment' |
| value: 'arguments[radioTheme]' |
| switchTheme: |
| kind: 'fragment' |
| value: 'arguments[switchTheme]' |
| toggleableActiveColor: |
| kind: 'fragment' |
| value: 'arguments[toggleableActiveColor]' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/97972/ |
| - title: "Migrate 'ThemeData.raw.toggleableActiveColor' to individual themes" |
| date: 2022-05-18 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: 'raw' |
| inClass: 'ThemeData' |
| changes: |
| - kind: 'removeParameter' |
| name: 'toggleableActiveColor' |
| - kind: 'addParameter' |
| index: 96 |
| name: 'checkboxTheme' |
| style: optional_named |
| argumentValue: |
| expression: "CheckboxThemeData(\n |
| fillColor: MaterialStateProperty.resolveWith<Color?>((Set<MaterialState> states) {\n |
| if (states.contains(MaterialState.disabled)) { |
| return null; |
| }\n |
| if (states.contains(MaterialState.selected)) { |
| return {% toggleableActiveColor %}; |
| }\n |
| return null;\n |
| }),\n |
| )" |
| requiredIf: "toggleableActiveColor != '' && checkboxTheme == ''" |
| - kind: 'addParameter' |
| index: 97 |
| name: 'checkboxTheme' |
| style: optional_named |
| argumentValue: |
| expression: "{% checkboxTheme %}.copyWith(\n |
| fillColor: MaterialStateProperty.resolveWith<Color?>((Set<MaterialState> states) {\n |
| if (states.contains(MaterialState.disabled)) { |
| return null; |
| }\n |
| if (states.contains(MaterialState.selected)) { |
| return {% toggleableActiveColor %}; |
| }\n |
| return null;\n |
| }),\n |
| )" |
| requiredIf: "toggleableActiveColor != '' && checkboxTheme != ''" |
| - kind: 'addParameter' |
| index: 98 |
| name: 'radioTheme' |
| style: optional_named |
| argumentValue: |
| expression: "RadioThemeData(\n |
| fillColor: MaterialStateProperty.resolveWith<Color?>((Set<MaterialState> states) {\n |
| if (states.contains(MaterialState.disabled)) { |
| return null; |
| }\n |
| if (states.contains(MaterialState.selected)) { |
| return {% toggleableActiveColor %}; |
| }\n |
| return null;\n |
| }),\n |
| )" |
| requiredIf: "toggleableActiveColor != '' && radioTheme == ''" |
| - kind: 'addParameter' |
| index: 99 |
| name: 'radioTheme' |
| style: optional_named |
| argumentValue: |
| expression: "{% radioTheme %}.copyWith(\n |
| fillColor: MaterialStateProperty.resolveWith<Color?>((Set<MaterialState> states) {\n |
| if (states.contains(MaterialState.disabled)) { |
| return null; |
| }\n |
| if (states.contains(MaterialState.selected)) { |
| return {% toggleableActiveColor %}; |
| }\n |
| return null;\n |
| }),\n |
| )" |
| requiredIf: "toggleableActiveColor != '' && radioTheme != ''" |
| - kind: 'addParameter' |
| index: 100 |
| name: 'switchTheme' |
| style: optional_named |
| argumentValue: |
| expression: "SwitchThemeData(\n |
| thumbColor: MaterialStateProperty.resolveWith<Color?>((Set<MaterialState> states) {\n |
| if (states.contains(MaterialState.disabled)) { |
| return null; |
| }\n |
| if (states.contains(MaterialState.selected)) { |
| return {% toggleableActiveColor %}; |
| }\n |
| return null;\n |
| }),\n |
| trackColor: MaterialStateProperty.resolveWith<Color?>((Set<MaterialState> states) {\n |
| if (states.contains(MaterialState.disabled)) { |
| return null; |
| }\n |
| if (states.contains(MaterialState.selected)) { |
| return {% toggleableActiveColor %}; |
| }\n |
| return null;\n |
| }),\n |
| )" |
| requiredIf: "toggleableActiveColor != '' && switchTheme == ''" |
| - kind: 'addParameter' |
| index: 101 |
| name: 'switchTheme' |
| style: optional_named |
| argumentValue: |
| expression: "{% switchTheme %}.copyWith(\n |
| thumbColor: MaterialStateProperty.resolveWith<Color?>((Set<MaterialState> states) {\n |
| if (states.contains(MaterialState.disabled)) { |
| return null; |
| }\n |
| if (states.contains(MaterialState.selected)) { |
| return {% toggleableActiveColor %}; |
| }\n |
| return null;\n |
| }),\n |
| trackColor: MaterialStateProperty.resolveWith<Color?>((Set<MaterialState> states) {\n |
| if (states.contains(MaterialState.disabled)) { |
| return null; |
| }\n |
| if (states.contains(MaterialState.selected)) { |
| return {% toggleableActiveColor %}; |
| }\n |
| return null;\n |
| }),\n |
| )" |
| requiredIf: "toggleableActiveColor != '' && switchTheme != ''" |
| variables: |
| checkboxTheme: |
| kind: 'fragment' |
| value: 'arguments[checkboxTheme]' |
| radioTheme: |
| kind: 'fragment' |
| value: 'arguments[radioTheme]' |
| switchTheme: |
| kind: 'fragment' |
| value: 'arguments[switchTheme]' |
| toggleableActiveColor: |
| kind: 'fragment' |
| value: 'arguments[toggleableActiveColor]' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/97972/ |
| - title: "Migrate 'ThemeData.copyWith.toggleableActiveColor' to individual themes" |
| date: 2022-05-18 |
| element: |
| uris: [ 'material.dart' ] |
| method: 'copyWith' |
| inClass: 'ThemeData' |
| changes: |
| - kind: 'removeParameter' |
| name: 'toggleableActiveColor' |
| - kind: 'addParameter' |
| index: 96 |
| name: 'checkboxTheme' |
| style: optional_named |
| argumentValue: |
| expression: "CheckboxThemeData(\n |
| fillColor: MaterialStateProperty.resolveWith<Color?>((Set<MaterialState> states) {\n |
| if (states.contains(MaterialState.disabled)) { |
| return null; |
| }\n |
| if (states.contains(MaterialState.selected)) { |
| return {% toggleableActiveColor %}; |
| }\n |
| return null;\n |
| }),\n |
| )" |
| requiredIf: "toggleableActiveColor != '' && checkboxTheme == ''" |
| - kind: 'addParameter' |
| index: 97 |
| name: 'checkboxTheme' |
| style: optional_named |
| argumentValue: |
| expression: "{% checkboxTheme %}.copyWith(\n |
| fillColor: MaterialStateProperty.resolveWith<Color?>((Set<MaterialState> states) {\n |
| if (states.contains(MaterialState.disabled)) { |
| return null; |
| }\n |
| if (states.contains(MaterialState.selected)) { |
| return {% toggleableActiveColor %}; |
| }\n |
| return null;\n |
| }),\n |
| )" |
| requiredIf: "toggleableActiveColor != '' && checkboxTheme != ''" |
| - kind: 'addParameter' |
| index: 98 |
| name: 'radioTheme' |
| style: optional_named |
| argumentValue: |
| expression: "RadioThemeData(\n |
| fillColor: MaterialStateProperty.resolveWith<Color?>((Set<MaterialState> states) {\n |
| if (states.contains(MaterialState.disabled)) { |
| return null; |
| }\n |
| if (states.contains(MaterialState.selected)) { |
| return {% toggleableActiveColor %}; |
| }\n |
| return null;\n |
| }),\n |
| )" |
| requiredIf: "toggleableActiveColor != '' && radioTheme == ''" |
| - kind: 'addParameter' |
| index: 99 |
| name: 'radioTheme' |
| style: optional_named |
| argumentValue: |
| expression: "{% radioTheme %}.copyWith(\n |
| fillColor: MaterialStateProperty.resolveWith<Color?>((Set<MaterialState> states) {\n |
| if (states.contains(MaterialState.disabled)) { |
| return null; |
| }\n |
| if (states.contains(MaterialState.selected)) { |
| return {% toggleableActiveColor %}; |
| }\n |
| return null;\n |
| }),\n |
| )" |
| requiredIf: "toggleableActiveColor != '' && radioTheme != ''" |
| - kind: 'addParameter' |
| index: 100 |
| name: 'switchTheme' |
| style: optional_named |
| argumentValue: |
| expression: "SwitchThemeData(\n |
| thumbColor: MaterialStateProperty.resolveWith<Color?>((Set<MaterialState> states) {\n |
| if (states.contains(MaterialState.disabled)) { |
| return null; |
| }\n |
| if (states.contains(MaterialState.selected)) { |
| return {% toggleableActiveColor %}; |
| }\n |
| return null;\n |
| }),\n |
| trackColor: MaterialStateProperty.resolveWith<Color?>((Set<MaterialState> states) {\n |
| if (states.contains(MaterialState.disabled)) { |
| return null; |
| }\n |
| if (states.contains(MaterialState.selected)) { |
| return {% toggleableActiveColor %}; |
| }\n |
| return null;\n |
| }),\n |
| )" |
| requiredIf: "toggleableActiveColor != '' && switchTheme == ''" |
| - kind: 'addParameter' |
| index: 101 |
| name: 'switchTheme' |
| style: optional_named |
| argumentValue: |
| expression: "{% switchTheme %}.copyWith(\n |
| thumbColor: MaterialStateProperty.resolveWith<Color?>((Set<MaterialState> states) {\n |
| if (states.contains(MaterialState.disabled)) { |
| return null; |
| }\n |
| if (states.contains(MaterialState.selected)) { |
| return {% toggleableActiveColor %}; |
| }\n |
| return null;\n |
| }),\n |
| trackColor: MaterialStateProperty.resolveWith<Color?>((Set<MaterialState> states) {\n |
| if (states.contains(MaterialState.disabled)) { |
| return null; |
| }\n |
| if (states.contains(MaterialState.selected)) { |
| return {% toggleableActiveColor %}; |
| }\n |
| return null;\n |
| }),\n |
| )" |
| requiredIf: "toggleableActiveColor != '' && switchTheme != ''" |
| variables: |
| checkboxTheme: |
| kind: 'fragment' |
| value: 'arguments[checkboxTheme]' |
| radioTheme: |
| kind: 'fragment' |
| value: 'arguments[radioTheme]' |
| switchTheme: |
| kind: 'fragment' |
| value: 'arguments[switchTheme]' |
| toggleableActiveColor: |
| kind: 'fragment' |
| value: 'arguments[toggleableActiveColor]' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/105291 |
| - title: "Migrate 'ElevatedButton.styleFrom(primary)' to 'ElevatedButton.styleFrom(backgroundColor)'" |
| date: 2022-05-27 |
| element: |
| uris: [ 'material.dart' ] |
| method: 'styleFrom' |
| inClass: 'ElevatedButton' |
| changes: |
| - kind: 'addParameter' |
| index: 1 |
| name: 'backgroundColor' |
| style: optional_named |
| argumentValue: |
| expression: '{% primary %}' |
| requiredIf: "primary != ''" |
| - kind: 'removeParameter' |
| name: 'primary' |
| variables: |
| primary: |
| kind: 'fragment' |
| value: 'arguments[primary]' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/105291 |
| - title: "Migrate 'ElevatedButton.styleFrom(onPrimary)' to 'ElevatedButton.styleFrom(foregroundColor)'" |
| date: 2022-05-27 |
| element: |
| uris: [ 'material.dart' ] |
| method: 'styleFrom' |
| inClass: 'ElevatedButton' |
| changes: |
| - kind: 'addParameter' |
| index: 0 |
| name: 'foregroundColor' |
| style: optional_named |
| argumentValue: |
| expression: '{% onPrimary %}' |
| requiredIf: "onPrimary != ''" |
| - kind: 'removeParameter' |
| name: 'onPrimary' |
| variables: |
| onPrimary: |
| kind: 'fragment' |
| value: 'arguments[onPrimary]' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/105291 |
| - title: "Migrate 'ElevatedButton.styleFrom(onSurface)' to 'ElevatedButton.styleFrom(disabledForegroundColor)'" |
| date: 2022-05-27 |
| element: |
| uris: [ 'material.dart' ] |
| method: 'styleFrom' |
| inClass: 'ElevatedButton' |
| changes: |
| - kind: 'addParameter' |
| index: 2 |
| name: 'disabledForegroundColor' |
| style: optional_named |
| argumentValue: |
| expression: '{% onSurface %}.withOpacity(0.38)' |
| requiredIf: "onSurface != ''" |
| - kind: 'addParameter' |
| index: 3 |
| name: 'disabledBackgroundColor' |
| style: optional_named |
| argumentValue: |
| expression: '{% onSurface %}.withOpacity(0.12)' |
| requiredIf: "onSurface != ''" |
| - kind: 'removeParameter' |
| name: 'onSurface' |
| variables: |
| onSurface: |
| kind: 'fragment' |
| value: 'arguments[onSurface]' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/105291 |
| - title: "Migrate 'OutlinedButton.styleFrom(primary)' to 'OutlinedButton.styleFrom(foregroundColor)'" |
| date: 2022-05-27 |
| element: |
| uris: [ 'material.dart' ] |
| method: 'styleFrom' |
| inClass: 'OutlinedButton' |
| changes: |
| - kind: 'addParameter' |
| index: 0 |
| name: 'foregroundColor' |
| style: optional_named |
| argumentValue: |
| expression: '{% primary %}' |
| requiredIf: "primary != ''" |
| - kind: 'removeParameter' |
| name: 'primary' |
| variables: |
| primary: |
| kind: 'fragment' |
| value: 'arguments[primary]' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/105291 |
| - title: "Migrate 'OutlinedButton.styleFrom(onSurface)' to 'OutlinedButton.styleFrom(disabledForeground)'" |
| date: 2022-05-27 |
| element: |
| uris: [ 'material.dart' ] |
| method: 'styleFrom' |
| inClass: 'OutlinedButton' |
| changes: |
| - kind: 'addParameter' |
| index: 2 |
| name: 'disabledForegroundColor' |
| style: optional_named |
| argumentValue: |
| expression: '{% onSurface %}.withOpacity(0.38)' |
| requiredIf: "onSurface != ''" |
| - kind: 'removeParameter' |
| name: 'onSurface' |
| variables: |
| onSurface: |
| kind: 'fragment' |
| value: 'arguments[onSurface]' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/105291 |
| - title: "Migrate 'TextButton.styleFrom(primary)' to 'TextButton.styleFrom(foregroundColor)'" |
| date: 2022-05-27 |
| element: |
| uris: [ 'material.dart' ] |
| method: 'styleFrom' |
| inClass: 'TextButton' |
| changes: |
| - kind: 'addParameter' |
| index: 0 |
| name: 'foregroundColor' |
| style: optional_named |
| argumentValue: |
| expression: '{% primary %}' |
| requiredIf: "primary != ''" |
| - kind: 'removeParameter' |
| name: 'primary' |
| variables: |
| primary: |
| kind: 'fragment' |
| value: 'arguments[primary]' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/105291 |
| - title: "Migrate 'TextButton.styleFrom(onSurface)' to 'TextButton.styleFrom(disabledForeground)'" |
| date: 2022-05-27 |
| element: |
| uris: [ 'material.dart' ] |
| method: 'styleFrom' |
| inClass: 'TextButton' |
| changes: |
| - kind: 'addParameter' |
| index: 2 |
| name: 'disabledForegroundColor' |
| style: optional_named |
| argumentValue: |
| expression: '{% onSurface %}.withOpacity(0.38)' |
| requiredIf: "onSurface != ''" |
| - kind: 'removeParameter' |
| name: 'onSurface' |
| variables: |
| onSurface: |
| kind: 'fragment' |
| value: 'arguments[onSurface]' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/100381 |
| - title: "Migrate 'TextSelectionOverlay.fadeDuration' to SelectionOverlay.fadeDuration" |
| date: 2022-03-18 |
| element: |
| uris: [ 'widgets.dart', 'material.dart', 'cupertino.dart' ] |
| field: 'fadeDuration' |
| inClass: 'TextSelectionOverlay' |
| changes: |
| - kind: 'replacedBy' |
| newElement: |
| uris: [ 'widgets.dart', 'material.dart', 'cupertino.dart' ] |
| field: 'fadeDuration' |
| inClass: 'SelectionOverlay' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/96174 |
| - title: "Migrate 'useDeleteButtonTooltip' to 'deleteButtonTooltipMessage'" |
| date: 2022-01-05 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: '' |
| inClass: 'Chip' |
| changes: |
| - kind: 'addParameter' |
| index: 9 |
| name: 'deleteButtonTooltipMessage' |
| style: optional_named |
| argumentValue: |
| expression: "''" |
| requiredIf: "useDeleteButtonTooltip == 'false' && deleteButtonTooltipMessage == ''" |
| - kind: 'removeParameter' |
| name: 'useDeleteButtonTooltip' |
| variables: |
| useDeleteButtonTooltip: |
| kind: 'fragment' |
| value: 'arguments[useDeleteButtonTooltip]' |
| deleteButtonTooltipMessage: |
| kind: 'fragment' |
| value: 'arguments[deleteButtonTooltipMessage]' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/96174 |
| - title: "Migrate 'useDeleteButtonTooltip' to 'deleteButtonTooltipMessage'" |
| date: 2022-01-05 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: '' |
| inClass: 'InputChip' |
| changes: |
| - kind: 'addParameter' |
| index: 9 |
| name: 'deleteButtonTooltipMessage' |
| style: optional_named |
| argumentValue: |
| expression: "''" |
| requiredIf: "useDeleteButtonTooltip == 'false' && deleteButtonTooltipMessage == ''" |
| - kind: 'removeParameter' |
| name: 'useDeleteButtonTooltip' |
| variables: |
| useDeleteButtonTooltip: |
| kind: 'fragment' |
| value: 'arguments[useDeleteButtonTooltip]' |
| deleteButtonTooltipMessage: |
| kind: 'fragment' |
| value: 'arguments[deleteButtonTooltipMessage]' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/96174 |
| - title: "Migrate 'useDeleteButtonTooltip' to 'deleteButtonTooltipMessage'" |
| date: 2022-01-05 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: '' |
| inClass: 'RawChip' |
| changes: |
| - kind: 'addParameter' |
| index: 9 |
| name: 'deleteButtonTooltipMessage' |
| style: optional_named |
| argumentValue: |
| expression: "''" |
| requiredIf: "useDeleteButtonTooltip == 'false' && deleteButtonTooltipMessage == ''" |
| - kind: 'removeParameter' |
| name: 'useDeleteButtonTooltip' |
| variables: |
| useDeleteButtonTooltip: |
| kind: 'fragment' |
| value: 'arguments[useDeleteButtonTooltip]' |
| deleteButtonTooltipMessage: |
| kind: 'fragment' |
| value: 'arguments[deleteButtonTooltipMessage]' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/96174 |
| - title: "Migrate 'useDeleteButtonTooltip' to 'deleteButtonTooltipMessage'" |
| date: 2022-01-05 |
| element: |
| uris: [ 'material.dart' ] |
| field: 'useDeleteButtonTooltip' |
| inClass: 'Chip' |
| changes: |
| - kind: 'rename' |
| newName: 'deleteButtonTooltipMessage' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/96174 |
| - title: "Migrate 'useDeleteButtonTooltip' to 'deleteButtonTooltipMessage'" |
| date: 2022-01-05 |
| element: |
| uris: [ 'material.dart' ] |
| field: 'useDeleteButtonTooltip' |
| inClass: 'InputChip' |
| changes: |
| - kind: 'rename' |
| newName: 'deleteButtonTooltipMessage' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/96174 |
| - title: "Migrate 'useDeleteButtonTooltip' to 'deleteButtonTooltipMessage'" |
| date: 2022-01-05 |
| element: |
| uris: [ 'material.dart' ] |
| field: 'useDeleteButtonTooltip' |
| inClass: 'RawChip' |
| changes: |
| - kind: 'rename' |
| newName: 'deleteButtonTooltipMessage' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/96957 |
| - title: "Migrate to 'thumbVisibility'" |
| date: 2022-01-20 |
| element: |
| uris: [ 'cupertino.dart' ] |
| field: 'isAlwaysShown' |
| inClass: 'CupertinoScrollbar' |
| changes: |
| - kind: 'rename' |
| newName: 'thumbVisibility' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/96957 |
| - title: "Migrate to 'thumbVisibility'" |
| date: 2022-01-20 |
| element: |
| uris: [ 'cupertino.dart' ] |
| constructor: '' |
| inClass: 'CupertinoScrollbar' |
| changes: |
| - kind: 'renameParameter' |
| oldName: 'isAlwaysShown' |
| newName: 'thumbVisibility' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/96957 |
| - title: "Migrate to 'thumbVisibility'" |
| date: 2022-01-20 |
| element: |
| uris: [ 'material.dart' ] |
| field: 'isAlwaysShown' |
| inClass: 'Scrollbar' |
| changes: |
| - kind: 'rename' |
| newName: 'thumbVisibility' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/96957 |
| - title: "Migrate to 'thumbVisibility'" |
| date: 2022-01-20 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: '' |
| inClass: 'Scrollbar' |
| changes: |
| - kind: 'renameParameter' |
| oldName: 'isAlwaysShown' |
| newName: 'thumbVisibility' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/96957 |
| - title: "Migrate to 'thumbVisibility'" |
| date: 2022-01-20 |
| element: |
| uris: [ 'material.dart' ] |
| field: 'isAlwaysShown' |
| inClass: 'ScrollbarThemeData' |
| changes: |
| - kind: 'rename' |
| newName: 'thumbVisibility' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/96957 |
| - title: "Migrate to 'thumbVisibility'" |
| date: 2022-01-20 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: '' |
| inClass: 'ScrollbarThemeData' |
| changes: |
| - kind: 'renameParameter' |
| oldName: 'isAlwaysShown' |
| newName: 'thumbVisibility' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/96957 |
| - title: "Migrate to 'thumbVisibility'" |
| date: 2022-01-20 |
| element: |
| uris: [ 'material.dart' ] |
| method: 'copyWith' |
| inClass: 'ScrollbarThemeData' |
| changes: |
| - kind: 'renameParameter' |
| oldName: 'isAlwaysShown' |
| newName: 'thumbVisibility' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/96957 |
| - title: "Migrate to 'thumbVisibility'" |
| date: 2022-01-20 |
| element: |
| uris: [ 'material.dart', 'widgets.dart', 'cupertino.dart' ] |
| field: 'isAlwaysShown' |
| inClass: 'RawScrollbar' |
| changes: |
| - kind: 'rename' |
| newName: 'thumbVisibility' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/96957 |
| - title: "Migrate to 'thumbVisibility'" |
| date: 2022-01-20 |
| element: |
| uris: [ 'material.dart', 'widgets.dart', 'cupertino.dart' ] |
| constructor: '' |
| inClass: 'RawScrollbar' |
| changes: |
| - kind: 'renameParameter' |
| oldName: 'isAlwaysShown' |
| newName: 'thumbVisibility' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/96115 |
| - title: "Migrate 'Icons.pie_chart_outlined' to 'Icons.pie_chart_outline'" |
| date: 2022-01-04 |
| element: |
| uris: [ 'material.dart' ] |
| field: 'pie_chart_outlined' |
| inClass: 'Icons' |
| changes: |
| - kind: 'rename' |
| newName: 'pie_chart_outline' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/93427 |
| - title: "Remove 'primaryVariant' and 'secondaryVariant'" |
| date: 2021-11-19 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: '' |
| inClass: 'ColorScheme' |
| changes: |
| - kind: 'removeParameter' |
| name: 'primaryVariant' |
| - kind: 'removeParameter' |
| name: 'secondaryVariant' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/93427 |
| - title: "Remove 'primaryVariant' and 'secondaryVariant'" |
| date: 2021-11-19 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: 'light' |
| inClass: 'ColorScheme' |
| changes: |
| - kind: 'removeParameter' |
| name: 'primaryVariant' |
| - kind: 'removeParameter' |
| name: 'secondaryVariant' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/93427 |
| - title: "Remove 'primaryVariant' and 'secondaryVariant'" |
| date: 2021-11-19 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: 'dark' |
| inClass: 'ColorScheme' |
| changes: |
| - kind: 'removeParameter' |
| name: 'primaryVariant' |
| - kind: 'removeParameter' |
| name: 'secondaryVariant' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/93427 |
| - title: "Remove 'primaryVariant' and 'secondaryVariant'" |
| date: 2021-11-19 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: 'highContrastLight' |
| inClass: 'ColorScheme' |
| changes: |
| - kind: 'removeParameter' |
| name: 'primaryVariant' |
| - kind: 'removeParameter' |
| name: 'secondaryVariant' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/93427 |
| - title: "Remove 'primaryVariant' and 'secondaryVariant'" |
| date: 2021-11-19 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: 'highContrastDark' |
| inClass: 'ColorScheme' |
| changes: |
| - kind: 'removeParameter' |
| name: 'primaryVariant' |
| - kind: 'removeParameter' |
| name: 'secondaryVariant' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/93427 |
| - title: "Remove 'primaryVariant' and 'secondaryVariant'" |
| date: 2021-11-19 |
| element: |
| uris: [ 'material.dart' ] |
| method: 'copyWith' |
| inClass: 'ColorScheme' |
| changes: |
| - kind: 'removeParameter' |
| name: 'primaryVariant' |
| - kind: 'removeParameter' |
| name: 'secondaryVariant' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/93427 |
| - title: "Migrate 'primaryVariant' to 'primaryContainer'" |
| date: 2021-11-19 |
| element: |
| uris: [ 'material.dart' ] |
| getter: 'primaryVariant' |
| inClass: 'ColorScheme' |
| changes: |
| - kind: 'rename' |
| newName: 'primaryContainer' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/93427 |
| - title: "Migrate 'secondaryVariant' to 'secondaryContainer'" |
| date: 2021-11-19 |
| element: |
| uris: [ 'material.dart' ] |
| getter: 'secondaryVariant' |
| inClass: 'ColorScheme' |
| changes: |
| - kind: 'rename' |
| newName: 'secondaryContainer' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/93396 |
| - title: "Remove 'primaryColorBrightness'" |
| date: 2021-11-11 |
| element: |
| uris: [ 'material.dart' ] |
| method: 'copyWith' |
| inClass: 'ThemeData' |
| changes: |
| - kind: 'removeParameter' |
| name: 'primaryColorBrightness' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/93396 |
| - title: "Remove 'primaryColorBrightness'" |
| date: 2021-11-11 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: 'raw' |
| inClass: 'ThemeData' |
| changes: |
| - kind: 'removeParameter' |
| name: 'primaryColorBrightness' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/93396 |
| - title: "Remove 'primaryColorBrightness'" |
| date: 2021-11-11 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: '' |
| inClass: 'ThemeData' |
| changes: |
| - kind: 'removeParameter' |
| name: 'primaryColorBrightness' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/86198 |
| - title: "Migrate to 'backgroundColor'" |
| date: 2021-07-12 |
| element: |
| uris: [ 'material.dart' ] |
| getter: color |
| inClass: 'AppBarTheme' |
| changes: |
| - kind: 'rename' |
| newName: 'backgroundColor' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/86198 |
| - title: "Remove 'backwardsCompatibility'" |
| date: 2021-07-12 |
| element: |
| uris: [ 'material.dart' ] |
| method: 'copyWith' |
| inClass: 'AppBarTheme' |
| changes: |
| - kind: 'removeParameter' |
| name: 'backwardsCompatibility' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/86198 |
| - title: "Remove 'backwardsCompatibility'" |
| date: 2020-07-12 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: '' |
| inClass: 'AppBarTheme' |
| changes: |
| - kind: 'removeParameter' |
| name: 'backwardsCompatibility' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/86198 |
| - title: "Remove 'backwardsCompatibility'" |
| date: 2020-07-12 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: '' |
| inClass: 'SliverAppBar' |
| changes: |
| - kind: 'removeParameter' |
| name: 'backwardsCompatibility' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/86198 |
| - title: "Remove 'backwardsCompatibility'" |
| date: 2020-07-12 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: '' |
| inClass: 'AppBar' |
| changes: |
| - kind: 'removeParameter' |
| name: 'backwardsCompatibility' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/86198 |
| - title: "Migrate to 'toolbarTextStyle' & 'titleTextStyle'" |
| date: 2021-07-12 |
| element: |
| uris: [ 'material.dart' ] |
| method: 'copyWith' |
| inClass: 'AppBarTheme' |
| changes: |
| - kind: 'addParameter' |
| index: 12 |
| name: 'toolbarTextStyle' |
| style: optional_named |
| argumentValue: |
| expression: '{% textTheme %}.bodyText2' |
| requiredIf: "textTheme != ''" |
| - kind: 'addParameter' |
| index: 13 |
| name: 'titleTextStyle' |
| style: optional_named |
| argumentValue: |
| expression: '{% textTheme %}.headline6' |
| requiredIf: "textTheme != ''" |
| - kind: 'removeParameter' |
| name: 'textTheme' |
| variables: |
| textTheme: |
| kind: 'fragment' |
| value: 'arguments[textTheme]' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/86198 |
| - title: "Migrate to 'toolbarTextStyle' & 'titleTextStyle'" |
| date: 2020-07-12 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: '' |
| inClass: 'AppBarTheme' |
| changes: |
| - kind: 'addParameter' |
| index: 13 |
| name: 'toolbarTextStyle' |
| style: optional_named |
| argumentValue: |
| expression: '{% textTheme %}.bodyText2' |
| requiredIf: "textTheme != ''" |
| - kind: 'addParameter' |
| index: 14 |
| name: 'titleTextStyle' |
| style: optional_named |
| argumentValue: |
| expression: '{% textTheme %}.headline6' |
| requiredIf: "textTheme != ''" |
| - kind: 'removeParameter' |
| name: 'textTheme' |
| variables: |
| textTheme: |
| kind: 'fragment' |
| value: 'arguments[textTheme]' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/86198 |
| - title: "Migrate to 'toolbarTextStyle'" |
| date: 2021-07-12 |
| # TODO(Piinks): Add tests when `bulkApply:false` testing is supported, https://github.com/dart-lang/sdk/issues/44639 |
| bulkApply: false |
| element: |
| uris: [ 'material.dart' ] |
| field: 'textTheme' |
| inClass: 'AppBarTheme' |
| changes: |
| - kind: 'rename' |
| newName: 'toolbarTextStyle' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/86198 |
| - title: "Migrate to 'titleTextStyle'" |
| date: 2021-07-12 |
| # TODO(Piinks): Add tests when `bulkApply:false` testing is supported, https://github.com/dart-lang/sdk/issues/44639 |
| bulkApply: false |
| element: |
| uris: [ 'material.dart' ] |
| field: 'textTheme' |
| inClass: 'AppBarTheme' |
| changes: |
| - kind: 'rename' |
| newName: 'titleTextStyle' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/86198 |
| - title: "Migrate to 'toolbarTextStyle' & 'titleTextStyle'" |
| date: 2020-07-12 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: '' |
| inClass: 'SliverAppBar' |
| changes: |
| - kind: 'addParameter' |
| index: 32 |
| name: 'toolbarTextStyle' |
| style: optional_named |
| argumentValue: |
| expression: '{% textTheme %}.bodyText2' |
| requiredIf: "textTheme != ''" |
| - kind: 'addParameter' |
| index: 33 |
| name: 'titleTextStyle' |
| style: optional_named |
| argumentValue: |
| expression: '{% textTheme %}.headline6' |
| requiredIf: "textTheme != ''" |
| - kind: 'removeParameter' |
| name: 'textTheme' |
| variables: |
| textTheme: |
| kind: 'fragment' |
| value: 'arguments[textTheme]' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/86198 |
| - title: "Migrate to 'toolbarTextStyle'" |
| date: 2021-07-12 |
| # TODO(Piinks): Add tests when `bulkApply:false` testing is supported, https://github.com/dart-lang/sdk/issues/44639 |
| bulkApply: false |
| element: |
| uris: [ 'material.dart' ] |
| field: 'textTheme' |
| inClass: 'SliverAppBar' |
| changes: |
| - kind: 'rename' |
| newName: 'toolbarTextStyle' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/86198 |
| - title: "Migrate to 'titleTextStyle'" |
| date: 2021-07-12 |
| # TODO(Piinks): Add tests when `bulkApply:false` testing is supported, https://github.com/dart-lang/sdk/issues/44639 |
| bulkApply: false |
| element: |
| uris: [ 'material.dart' ] |
| field: 'textTheme' |
| inClass: 'SliverAppBar' |
| changes: |
| - kind: 'rename' |
| newName: 'titleTextStyle' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/86198 |
| - title: "Migrate to 'toolbarTextStyle' & 'titleTextStyle'" |
| date: 2020-07-12 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: '' |
| inClass: 'AppBar' |
| changes: |
| - kind: 'addParameter' |
| index: 24 |
| name: 'toolbarTextStyle' |
| style: optional_named |
| argumentValue: |
| expression: '{% textTheme %}.bodyText2' |
| requiredIf: "textTheme != ''" |
| - kind: 'addParameter' |
| index: 25 |
| name: 'titleTextStyle' |
| style: optional_named |
| argumentValue: |
| expression: '{% textTheme %}.headline6' |
| requiredIf: "textTheme != ''" |
| - kind: 'removeParameter' |
| name: 'textTheme' |
| variables: |
| textTheme: |
| kind: 'fragment' |
| value: 'arguments[textTheme]' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/86198 |
| - title: "Migrate to 'toolbarTextStyle'" |
| date: 2021-07-12 |
| # TODO(Piinks): Add tests when `bulkApply:false` testing is supported, https://github.com/dart-lang/sdk/issues/44639 |
| bulkApply: false |
| element: |
| uris: [ 'material.dart' ] |
| field: 'textTheme' |
| inClass: 'AppBar' |
| changes: |
| - kind: 'rename' |
| newName: 'toolbarTextStyle' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/86198 |
| - title: "Migrate to 'titleTextStyle'" |
| date: 2021-07-12 |
| # TODO(Piinks): Add tests when `bulkApply:false` testing is supported, https://github.com/dart-lang/sdk/issues/44639 |
| bulkApply: false |
| element: |
| uris: [ 'material.dart' ] |
| field: 'textTheme' |
| inClass: 'AppBar' |
| changes: |
| - kind: 'rename' |
| newName: 'titleTextStyle' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/86198 |
| - title: "Migrate to 'systemOverlayStyle'" |
| date: 2021-07-12 |
| element: |
| uris: [ 'material.dart' ] |
| method: 'copyWith' |
| inClass: 'AppBarTheme' |
| oneOf: |
| - if: "brightness == 'Brightness.dark'" |
| changes: |
| - kind: 'addParameter' |
| index: 14 |
| name: 'systemOverlayStyle' |
| style: optional_named |
| argumentValue: |
| expression: '{% SystemUiOverlayStyle %}.light' |
| requiredIf: "brightness == 'Brightness.dark'" |
| variables: |
| SystemUiOverlayStyle: |
| kind: 'import' |
| uris: [ 'services.dart' ] |
| name: 'SystemUiOverlayStyle' |
| - kind: 'removeParameter' |
| name: 'brightness' |
| - if: "brightness == 'Brightness.light'" |
| changes: |
| - kind: 'addParameter' |
| index: 14 |
| name: 'systemOverlayStyle' |
| style: optional_named |
| argumentValue: |
| expression: '{% SystemUiOverlayStyle %}.dark' |
| requiredIf: "brightness == 'Brightness.light'" |
| variables: |
| SystemUiOverlayStyle: |
| kind: 'import' |
| uris: [ 'services.dart' ] |
| name: 'SystemUiOverlayStyle' |
| - kind: 'removeParameter' |
| name: 'brightness' |
| variables: |
| brightness: |
| kind: 'fragment' |
| value: 'arguments[brightness]' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/86198 |
| - title: "Migrate to 'systemOverlayStyle'" |
| date: 2020-07-12 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: '' |
| inClass: 'AppBarTheme' |
| oneOf: |
| - if: "brightness == 'Brightness.dark'" |
| changes: |
| - kind: 'addParameter' |
| index: 14 |
| name: 'systemOverlayStyle' |
| style: optional_named |
| argumentValue: |
| expression: '{% SystemUiOverlayStyle %}.light' |
| requiredIf: "brightness == 'Brightness.dark'" |
| variables: |
| SystemUiOverlayStyle: |
| kind: 'import' |
| uris: [ 'services.dart' ] |
| name: 'SystemUiOverlayStyle' |
| - kind: 'removeParameter' |
| name: 'brightness' |
| - if: "brightness == 'Brightness.light'" |
| changes: |
| - kind: 'addParameter' |
| index: 14 |
| name: 'systemOverlayStyle' |
| style: optional_named |
| argumentValue: |
| expression: '{% SystemUiOverlayStyle %}.dark' |
| requiredIf: "brightness == 'Brightness.light'" |
| variables: |
| SystemUiOverlayStyle: |
| kind: 'import' |
| uris: [ 'services.dart' ] |
| name: 'SystemUiOverlayStyle' |
| - kind: 'removeParameter' |
| name: 'brightness' |
| variables: |
| brightness: |
| kind: 'fragment' |
| value: 'arguments[brightness]' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/86198 |
| - title: "Migrate to 'systemOverlayStyle'" |
| date: 2021-07-12 |
| element: |
| uris: [ 'material.dart' ] |
| field: 'brightness' |
| inClass: 'AppBarTheme' |
| changes: |
| - kind: 'rename' |
| newName: 'systemOverlayStyle' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/86198 |
| - title: "Migrate to 'systemOverlayStyle'" |
| date: 2020-07-12 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: '' |
| inClass: 'SliverAppBar' |
| oneOf: |
| - if: "brightness == 'Brightness.dark'" |
| changes: |
| - kind: 'addParameter' |
| index: 34 |
| name: 'systemOverlayStyle' |
| style: optional_named |
| argumentValue: |
| expression: '{% SystemUiOverlayStyle %}.light' |
| requiredIf: "brightness == 'Brightness.dark'" |
| variables: |
| SystemUiOverlayStyle: |
| kind: 'import' |
| uris: [ 'services.dart' ] |
| name: 'SystemUiOverlayStyle' |
| - kind: 'removeParameter' |
| name: 'brightness' |
| - if: "brightness == 'Brightness.light'" |
| changes: |
| - kind: 'addParameter' |
| index: 34 |
| name: 'systemOverlayStyle' |
| style: optional_named |
| argumentValue: |
| expression: '{% SystemUiOverlayStyle %}.dark' |
| requiredIf: "brightness == 'Brightness.light'" |
| variables: |
| SystemUiOverlayStyle: |
| kind: 'import' |
| uris: [ 'services.dart' ] |
| name: 'SystemUiOverlayStyle' |
| - kind: 'removeParameter' |
| name: 'brightness' |
| variables: |
| brightness: |
| kind: 'fragment' |
| value: 'arguments[brightness]' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/86198 |
| - title: "Migrate to 'systemOverlayStyle'" |
| date: 2021-07-12 |
| element: |
| uris: [ 'material.dart' ] |
| field: 'brightness' |
| inClass: 'SliverAppBar' |
| changes: |
| - kind: 'rename' |
| newName: 'systemOverlayStyle' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/86198 |
| - title: "Migrate to 'systemOverlayStyle'" |
| date: 2020-07-12 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: '' |
| inClass: 'AppBar' |
| oneOf: |
| - if: "brightness == 'Brightness.dark'" |
| changes: |
| - kind: 'addParameter' |
| index: 27 |
| name: 'systemOverlayStyle' |
| style: optional_named |
| argumentValue: |
| expression: '{% SystemUiOverlayStyle %}.light' |
| requiredIf: "brightness == 'Brightness.dark'" |
| variables: |
| SystemUiOverlayStyle: |
| kind: 'import' |
| uris: [ 'services.dart' ] |
| name: 'SystemUiOverlayStyle' |
| - kind: 'removeParameter' |
| name: 'brightness' |
| - if: "brightness == 'Brightness.light'" |
| changes: |
| - kind: 'addParameter' |
| index: 27 |
| name: 'systemOverlayStyle' |
| style: optional_named |
| argumentValue: |
| expression: '{% SystemUiOverlayStyle %}.dark' |
| requiredIf: "brightness == 'Brightness.light'" |
| variables: |
| SystemUiOverlayStyle: |
| kind: 'import' |
| uris: [ 'services.dart' ] |
| name: 'SystemUiOverlayStyle' |
| - kind: 'removeParameter' |
| name: 'brightness' |
| variables: |
| brightness: |
| kind: 'fragment' |
| value: 'arguments[brightness]' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/86198 |
| - title: "Migrate to 'systemOverlayStyle'" |
| date: 2021-07-12 |
| element: |
| uris: [ 'material.dart' ] |
| field: 'brightness' |
| inClass: 'AppBar' |
| changes: |
| - kind: 'rename' |
| newName: 'systemOverlayStyle' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/87839 |
| - title: "Migrate to 'disallowIndicator'" |
| date: 2021-08-06 |
| element: |
| uris: [ 'material.dart', 'widgets.dart', 'cupertino.dart' ] |
| method: 'disallowGlow' |
| inClass: 'OverscrollIndicatorNotification' |
| changes: |
| - kind: 'rename' |
| newName: 'disallowIndicator' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/87281 |
| - title: "Remove 'fixTextFieldOutlineLabel'" |
| date: 2021-04-30 |
| element: |
| uris: [ 'material.dart' ] |
| method: 'copyWith' |
| inClass: 'ThemeData' |
| changes: |
| - kind: 'removeParameter' |
| name: 'fixTextFieldOutlineLabel' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/87281 |
| - title: "Remove 'fixTextFieldOutlineLabel'" |
| date: 2021-04-30 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: 'raw' |
| inClass: 'ThemeData' |
| changes: |
| - kind: 'removeParameter' |
| name: 'fixTextFieldOutlineLabel' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/87281 |
| - title: "Remove 'fixTextFieldOutlineLabel'" |
| date: 2021-04-30 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: '' |
| inClass: 'ThemeData' |
| changes: |
| - kind: 'removeParameter' |
| name: 'fixTextFieldOutlineLabel' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/81336 |
| - title: "Remove 'buttonColor'" |
| date: 2021-04-30 |
| element: |
| uris: [ 'material.dart' ] |
| method: 'copyWith' |
| inClass: 'ThemeData' |
| changes: |
| - kind: 'removeParameter' |
| name: 'buttonColor' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/81336 |
| - title: "Remove 'buttonColor'" |
| date: 2021-04-30 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: 'raw' |
| inClass: 'ThemeData' |
| changes: |
| - kind: 'removeParameter' |
| name: 'buttonColor' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/81336 |
| - title: "Remove 'buttonColor'" |
| date: 2021-04-30 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: '' |
| inClass: 'ThemeData' |
| changes: |
| - kind: 'removeParameter' |
| name: 'buttonColor' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/81336 |
| - title: "Remove 'accentIconTheme'" |
| date: 2021-04-30 |
| element: |
| uris: [ 'material.dart' ] |
| method: 'copyWith' |
| inClass: 'ThemeData' |
| changes: |
| - kind: 'removeParameter' |
| name: 'accentIconTheme' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/81336 |
| - title: "Remove 'accentIconTheme'" |
| date: 2021-04-30 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: 'raw' |
| inClass: 'ThemeData' |
| changes: |
| - kind: 'removeParameter' |
| name: 'accentIconTheme' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/81336 |
| - title: "Remove 'accentIconTheme'" |
| date: 2021-04-30 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: '' |
| inClass: 'ThemeData' |
| changes: |
| - kind: 'removeParameter' |
| name: 'accentIconTheme' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/81336 |
| - title: "Remove 'accentTextTheme'" |
| date: 2021-04-30 |
| element: |
| uris: [ 'material.dart' ] |
| method: 'copyWith' |
| inClass: 'ThemeData' |
| changes: |
| - kind: 'removeParameter' |
| name: 'accentTextTheme' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/81336 |
| - title: "Remove 'accentTextTheme'" |
| date: 2021-04-30 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: 'raw' |
| inClass: 'ThemeData' |
| changes: |
| - kind: 'removeParameter' |
| name: 'accentTextTheme' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/81336 |
| - title: "Remove 'accentTextTheme'" |
| date: 2021-04-30 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: '' |
| inClass: 'ThemeData' |
| changes: |
| - kind: 'removeParameter' |
| name: 'accentTextTheme' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/81336 |
| - title: "Remove 'accentColorBrightness'" |
| date: 2021-04-30 |
| element: |
| uris: [ 'material.dart' ] |
| method: 'copyWith' |
| inClass: 'ThemeData' |
| changes: |
| - kind: 'removeParameter' |
| name: 'accentColorBrightness' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/81336 |
| - title: "Remove 'accentColorBrightness'" |
| date: 2021-04-30 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: 'raw' |
| inClass: 'ThemeData' |
| changes: |
| - kind: 'removeParameter' |
| name: 'accentColorBrightness' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/81336 |
| - title: "Remove 'accentColorBrightness'" |
| date: 2021-04-30 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: '' |
| inClass: 'ThemeData' |
| changes: |
| - kind: 'removeParameter' |
| name: 'accentColorBrightness' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/81336 |
| - title: "Migrate to 'ColorScheme.secondary'" |
| date: 2021-04-30 |
| element: |
| uris: [ 'material.dart' ] |
| field: 'accentColor' |
| inClass: 'ThemeData' |
| changes: |
| - kind: 'rename' |
| newName: 'colorScheme.secondary' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/81336 |
| - title: "Migrate to 'ColorScheme.secondary'" |
| date: 2021-04-30 |
| element: |
| uris: [ 'material.dart' ] |
| method: 'copyWith' |
| inClass: 'ThemeData' |
| oneOf: |
| - if: "accentColor != '' && primarySwatch == '' && colorScheme == ''" |
| changes: |
| - kind: 'addParameter' |
| index: 56 |
| name: 'colorScheme' |
| style: optional_named |
| argumentValue: |
| expression: 'ColorScheme.fromSwatch().copyWith(secondary: {% accentColor %})' |
| requiredIf: "accentColor != '' && primarySwatch == '' && colorScheme ==''" |
| - kind: 'removeParameter' |
| name: 'accentColor' |
| - if: "accentColor != '' && primarySwatch != '' && colorScheme == ''" |
| changes: |
| - kind: 'addParameter' |
| index: 56 |
| name: 'colorScheme' |
| style: optional_named |
| argumentValue: |
| expression: 'ColorScheme.fromSwatch(primarySwatch: {% primarySwatch %}).copyWith(secondary: {% accentColor %})' |
| requiredIf: "accentColor != '' && primarySwatch != '' && colorScheme == ''" |
| - kind: 'removeParameter' |
| name: 'accentColor' |
| - kind: 'removeParameter' |
| name: 'primarySwatch' |
| - if: "accentColor != '' && primarySwatch == '' && colorScheme != ''" |
| changes: |
| - kind: 'removeParameter' |
| name: 'colorScheme' # Remove to add back with modification |
| - kind: 'addParameter' |
| index: 56 |
| name: 'colorScheme' |
| style: optional_named |
| argumentValue: |
| expression: '{% colorScheme %}.copyWith(secondary: {% accentColor %})' |
| requiredIf: "accentColor != '' && primarySwatch == '' && colorScheme != ''" |
| - kind: 'removeParameter' |
| name: 'accentColor' |
| - if: "accentColor != '' && primarySwatch != '' && colorScheme != ''" |
| changes: |
| - kind: 'removeParameter' |
| name: 'colorScheme' # Remove to add back with modification |
| - kind: 'addParameter' |
| index: 56 |
| name: 'colorScheme' |
| style: optional_named |
| argumentValue: |
| expression: '{% colorScheme %}.copyWith(primarySwatch: {% primarySwatch %}, secondary: {% accentColor %})' |
| requiredIf: "accentColor != '' && primarySwatch != '' && colorScheme != ''" |
| - kind: 'removeParameter' |
| name: 'accentColor' |
| - kind: 'removeParameter' |
| name: 'primarySwatch' |
| variables: |
| accentColor: |
| kind: 'fragment' |
| value: 'arguments[accentColor]' |
| primarySwatch: |
| kind: 'fragment' |
| value: 'arguments[primarySwatch]' |
| colorScheme: |
| kind: 'fragment' |
| value: 'arguments[colorScheme]' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/81336 |
| - title: "Migrate to 'ColorScheme.secondary'" |
| date: 2021-04-30 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: 'raw' |
| inClass: 'ThemeData' |
| oneOf: |
| - if: "accentColor != '' && primarySwatch == '' && colorScheme == ''" |
| changes: |
| - kind: 'addParameter' |
| index: 56 |
| name: 'colorScheme' |
| style: optional_named |
| argumentValue: |
| expression: 'ColorScheme.fromSwatch().copyWith(secondary: {% accentColor %})' |
| requiredIf: "accentColor != '' && primarySwatch == '' && colorScheme ==''" |
| - kind: 'removeParameter' |
| name: 'accentColor' |
| - if: "accentColor != '' && primarySwatch != '' && colorScheme == ''" |
| changes: |
| - kind: 'addParameter' |
| index: 56 |
| name: 'colorScheme' |
| style: optional_named |
| argumentValue: |
| expression: 'ColorScheme.fromSwatch(primarySwatch: {% primarySwatch %}).copyWith(secondary: {% accentColor %})' |
| requiredIf: "accentColor != '' && primarySwatch != '' && colorScheme == ''" |
| - kind: 'removeParameter' |
| name: 'accentColor' |
| - kind: 'removeParameter' |
| name: 'primarySwatch' |
| - if: "accentColor != '' && primarySwatch == '' && colorScheme != ''" |
| changes: |
| - kind: 'removeParameter' |
| name: 'colorScheme' # Remove to add back with modification |
| - kind: 'addParameter' |
| index: 56 |
| name: 'colorScheme' |
| style: optional_named |
| argumentValue: |
| expression: '{% colorScheme %}.copyWith(secondary: {% accentColor %})' |
| requiredIf: "accentColor != '' && primarySwatch == '' && colorScheme != ''" |
| - kind: 'removeParameter' |
| name: 'accentColor' |
| - if: "accentColor != '' && primarySwatch != '' && colorScheme != ''" |
| changes: |
| - kind: 'removeParameter' |
| name: 'colorScheme' # Remove to add back with modification |
| - kind: 'addParameter' |
| index: 56 |
| name: 'colorScheme' |
| style: optional_named |
| argumentValue: |
| expression: '{% colorScheme %}.copyWith(primarySwatch: {% primarySwatch %}, secondary: {% accentColor %})' |
| requiredIf: "accentColor != '' && primarySwatch != '' && colorScheme != ''" |
| - kind: 'removeParameter' |
| name: 'accentColor' |
| - kind: 'removeParameter' |
| name: 'primarySwatch' |
| variables: |
| accentColor: |
| kind: 'fragment' |
| value: 'arguments[accentColor]' |
| primarySwatch: |
| kind: 'fragment' |
| value: 'arguments[primarySwatch]' |
| colorScheme: |
| kind: 'fragment' |
| value: 'arguments[colorScheme]' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/81336 |
| - title: "Migrate to 'ColorScheme.secondary'" |
| date: 2021-04-30 |
| element: |
| uris: [ 'material.dart' ] |
| constructor: '' |
| inClass: 'ThemeData' |
| oneOf: |
| - if: "accentColor != '' && primarySwatch == '' && colorScheme == ''" |
| changes: |
| - kind: 'addParameter' |
| index: 56 |
| name: 'colorScheme' |
| style: optional_named |
| argumentValue: |
| expression: 'ColorScheme.fromSwatch().copyWith(secondary: {% accentColor %})' |
| requiredIf: "accentColor != '' && primarySwatch == '' && colorScheme ==''" |
| - kind: 'removeParameter' |
| name: 'accentColor' |
| - if: "accentColor != '' && primarySwatch != '' && colorScheme == ''" |
| changes: |
| - kind: 'addParameter' |
| index: 56 |
| name: 'colorScheme' |
| style: optional_named |
| argumentValue: |
| expression: 'ColorScheme.fromSwatch(primarySwatch: {% primarySwatch %}).copyWith(secondary: {% accentColor %})' |
| requiredIf: "accentColor != '' && primarySwatch != '' && colorScheme == ''" |
| - kind: 'removeParameter' |
| name: 'accentColor' |
| - kind: 'removeParameter' |
| name: 'primarySwatch' |
| - if: "accentColor != '' && primarySwatch == '' && colorScheme != ''" |
| changes: |
| - kind: 'removeParameter' |
| name: 'colorScheme' # Remove to add back with modification |
| - kind: 'addParameter' |
| index: 56 |
| name: 'colorScheme' |
| style: optional_named |
| argumentValue: |
| expression: '{% colorScheme %}.copyWith(secondary: {% accentColor %})' |
| requiredIf: "accentColor != '' && primarySwatch == '' && colorScheme != ''" |
| - kind: 'removeParameter' |
| name: 'accentColor' |
| - if: "accentColor != '' && primarySwatch != '' && colorScheme != ''" |
| changes: |
| - kind: 'removeParameter' |
| name: 'colorScheme' # Remove to add back with modification |
| - kind: 'addParameter' |
| index: 56 |
| name: 'colorScheme' |
| style: optional_named |
| argumentValue: |
| expression: '{% colorScheme %}.copyWith(primarySwatch: {% primarySwatch %}, secondary: {% accentColor %})' |
| requiredIf: "accentColor != '' && primarySwatch != '' && colorScheme != ''" |
| - kind: 'removeParameter' |
| name: 'accentColor' |
| - kind: 'removeParameter' |
| name: 'primarySwatch' |
| variables: |
| accentColor: |
| kind: 'fragment' |
| value: 'arguments[accentColor]' |
| primarySwatch: |
| kind: 'fragment' |
| value: 'arguments[primarySwatch]' |
| colorScheme: |
| kind: 'fragment' |
| value: 'arguments[colorScheme]' |
| |
| # Changes made in https://flutter.dev/docs/release/breaking-changes/clip-behavior |
| - title: "Migrate to 'clipBehavior'" |
| date: 2020-08-20 |
| element: |
| uris: [ 'rendering.dart' ] |
| field: 'clipToSize' |
| inClass: 'RenderListWheelViewport' |
| changes: |
| - kind: 'rename' |
| newName: 'clipBehavior' |
| |
| # Changes made in https://flutter.dev/docs/release/breaking-changes/clip-behavior |
| - title: "Migrate to 'clipBehavior'" |
| date: 2020-08-20 |
| element: |
| uris: [ 'rendering.dart' ] |
| constructor: '' |
| inClass: 'RenderListWheelViewport' |
| oneOf: |
| - if: "clipToSize == 'true'" |
| changes: |
| - kind: 'addParameter' |
| index: 13 |
| name: 'clipBehavior' |
| style: optional_named |
| argumentValue: |
| expression: 'Clip.hardEdge' |
| requiredIf: "clipToSize == 'true'" |
| - kind: 'removeParameter' |
| name: 'clipToSize' |
| - if: "clipToSize == 'false'" |
| changes: |
| - kind: 'addParameter' |
| index: 13 |
| name: 'clipBehavior' |
| style: optional_named |
| argumentValue: |
| expression: 'Clip.none' |
| requiredIf: "clipToSize == 'false'" |
| - kind: 'removeParameter' |
| name: 'clipToSize' |
| variables: |
| clipToSize: |
| kind: 'fragment' |
| value: 'arguments[clipToSize]' |
| |
| # Changes made in https://flutter.dev/docs/release/breaking-changes/clip-behavior |
| - title: "Migrate to 'clipBehavior'" |
| date: 2020-08-20 |
| element: |
| uris: [ 'widgets.dart', 'material.dart', 'cupertino.dart' ] |
| field: 'clipToSize' |
| inClass: 'ListWheelViewport' |
| changes: |
| - kind: 'rename' |
| newName: 'clipBehavior' |
| |
| # Changes made in https://flutter.dev/docs/release/breaking-changes/clip-behavior |
| - title: "Migrate to 'clipBehavior'" |
| date: 2020-08-20 |
| element: |
| uris: [ 'widgets.dart', 'material.dart', 'cupertino.dart' ] |
| constructor: '' |
| inClass: 'ListWheelViewport' |
| oneOf: |
| - if: "clipToSize == 'true'" |
| changes: |
| - kind: 'addParameter' |
| index: 13 |
| name: 'clipBehavior' |
| style: optional_named |
| argumentValue: |
| expression: 'Clip.hardEdge' |
| requiredIf: "clipToSize == 'true'" |
| - kind: 'removeParameter' |
| name: 'clipToSize' |
| - if: "clipToSize == 'false'" |
| changes: |
| - kind: 'addParameter' |
| index: 13 |
| name: 'clipBehavior' |
| style: optional_named |
| argumentValue: |
| expression: 'Clip.none' |
| requiredIf: "clipToSize == 'false'" |
| - kind: 'removeParameter' |
| name: 'clipToSize' |
| variables: |
| clipToSize: |
| kind: 'fragment' |
| value: 'arguments[clipToSize]' |
| |
| # Changes made in https://flutter.dev/docs/release/breaking-changes/clip-behavior |
| - title: "Migrate to 'clipBehavior'" |
| date: 2020-08-20 |
| element: |
| uris: [ 'widgets.dart', 'material.dart', 'cupertino.dart' ] |
| constructor: 'useDelegate' |
| inClass: 'ListWheelScrollView' |
| oneOf: |
| - if: "clipToSize == 'true'" |
| changes: |
| - kind: 'addParameter' |
| index: 13 |
| name: 'clipBehavior' |
| style: optional_named |
| argumentValue: |
| expression: 'Clip.hardEdge' |
| requiredIf: "clipToSize == 'true'" |
| - kind: 'removeParameter' |
| name: 'clipToSize' |
| - if: "clipToSize == 'false'" |
| changes: |
| - kind: 'addParameter' |
| index: 13 |
| name: 'clipBehavior' |
| style: optional_named |
| argumentValue: |
| expression: 'Clip.none' |
| requiredIf: "clipToSize == 'false'" |
| - kind: 'removeParameter' |
| name: 'clipToSize' |
| variables: |
| clipToSize: |
| kind: 'fragment' |
| value: 'arguments[clipToSize]' |
| |
| # Changes made in https://flutter.dev/docs/release/breaking-changes/clip-behavior |
| - title: "Migrate to 'clipBehavior'" |
| date: 2020-08-20 |
| element: |
| uris: [ 'widgets.dart', 'material.dart', 'cupertino.dart' ] |
| field: 'clipToSize' |
| inClass: 'ListWheelScrollView' |
| changes: |
| - kind: 'rename' |
| newName: 'clipBehavior' |
| |
| # Changes made in https://flutter.dev/docs/release/breaking-changes/clip-behavior |
| - title: "Migrate to 'clipBehavior'" |
| date: 2020-08-20 |
| element: |
| uris: [ 'widgets.dart', 'material.dart', 'cupertino.dart' ] |
| constructor: '' |
| inClass: 'ListWheelScrollView' |
| oneOf: |
| - if: "clipToSize == 'true'" |
| changes: |
| - kind: 'addParameter' |
| index: 13 |
| name: 'clipBehavior' |
| style: optional_named |
| argumentValue: |
| expression: 'Clip.hardEdge' |
| requiredIf: "clipToSize == 'true'" |
| - kind: 'removeParameter' |
| name: 'clipToSize' |
| - if: "clipToSize == 'false'" |
| changes: |
| - kind: 'addParameter' |
| index: 13 |
| name: 'clipBehavior' |
| style: optional_named |
| argumentValue: |
| expression: 'Clip.none' |
| requiredIf: "clipToSize == 'false'" |
| - kind: 'removeParameter' |
| name: 'clipToSize' |
| variables: |
| clipToSize: |
| kind: 'fragment' |
| value: 'arguments[clipToSize]' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/66305 |
| - title: "Migrate to 'clipBehavior'" |
| date: 2020-09-22 |
| element: |
| uris: [ 'rendering.dart' ] |
| field: 'overflow' |
| inClass: 'RenderStack' |
| changes: |
| - kind: 'rename' |
| newName: 'clipBehavior' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/66305 |
| - title: "Migrate to 'clipBehavior'" |
| date: 2020-09-22 |
| element: |
| uris: [ 'rendering.dart' ] |
| constructor: '' |
| inClass: 'RenderStack' |
| oneOf: |
| - if: "overflow == 'Overflow.clip'" |
| changes: |
| - kind: 'addParameter' |
| index: 0 |
| name: 'clipBehavior' |
| style: optional_named |
| argumentValue: |
| expression: 'Clip.hardEdge' |
| requiredIf: "overflow == 'Overflow.clip'" |
| - kind: 'removeParameter' |
| name: 'overflow' |
| - if: "overflow == 'Overflow.visible'" |
| changes: |
| - kind: 'addParameter' |
| index: 0 |
| name: 'clipBehavior' |
| style: optional_named |
| argumentValue: |
| expression: 'Clip.none' |
| requiredIf: "overflow == 'Overflow.visible'" |
| - kind: 'removeParameter' |
| name: 'overflow' |
| variables: |
| overflow: |
| kind: 'fragment' |
| value: 'arguments[overflow]' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/81303 |
| - title: "Migrate to 'setEnabledSystemUIMode'" |
| date: 2021-06-08 |
| element: |
| uris: [ 'services.dart' ] |
| method: 'setEnabledSystemUIOverlays' |
| inClass: 'SystemChrome' |
| changes: |
| - kind: 'rename' |
| newName: 'setEnabledSystemUIMode' |
| - kind: 'removeParameter' |
| index: 0 |
| - kind: 'addParameter' |
| index: 0 |
| name: 'mode' |
| style: required_positional |
| argumentValue: |
| expression: 'SystemUiMode.manual' |
| - kind: 'addParameter' |
| index: 1 |
| name: 'overlays' |
| style: optional_named |
| argumentValue: |
| expression: '{% overlays %}' |
| requiredIf: "overlays != ''" |
| variables: |
| overlays: |
| kind: 'fragment' |
| value: 'arguments[0]' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/64254 |
| - title: "Migrate to 'removeRenderObjectChild'" |
| date: 2020-08-20 |
| element: |
| uris: [ 'cupertino.dart', 'widgets.dart', 'material.dart' ] |
| method: 'removeChildRenderObject' |
| inClass: 'RenderObjectToWidgetElement' |
| changes: |
| - kind: 'rename' |
| newName: 'removeRenderObjectChild' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/64254 |
| - title: "Migrate to 'moveRenderObjectChild'" |
| date: 2020-08-20 |
| element: |
| uris: [ 'cupertino.dart', 'widgets.dart', 'material.dart' ] |
| method: 'moveChildRenderObject' |
| inClass: 'RenderObjectToWidgetElement' |
| changes: |
| - kind: 'rename' |
| newName: 'moveRenderObjectChild' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/64254 |
| - title: "Migrate to 'insertRenderObjectChild'" |
| date: 2020-08-20 |
| element: |
| uris: [ 'cupertino.dart', 'widgets.dart', 'material.dart' ] |
| method: 'insertChildRenderObject' |
| inClass: 'RenderObjectToWidgetElement' |
| changes: |
| - kind: 'rename' |
| newName: 'insertRenderObjectChild' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/64254 |
| - title: "Migrate to 'removeRenderObjectChild'" |
| date: 2020-08-20 |
| element: |
| uris: [ 'cupertino.dart', 'widgets.dart', 'material.dart' ] |
| method: 'removeChildRenderObject' |
| inClass: 'SliverMultiBoxAdaptorElement' |
| changes: |
| - kind: 'rename' |
| newName: 'removeRenderObjectChild' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/64254 |
| - title: "Migrate to 'moveRenderObjectChild'" |
| date: 2020-08-20 |
| element: |
| uris: [ 'cupertino.dart', 'widgets.dart', 'material.dart' ] |
| method: 'moveChildRenderObject' |
| inClass: 'SliverMultiBoxAdaptorElement' |
| changes: |
| - kind: 'rename' |
| newName: 'moveRenderObjectChild' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/64254 |
| - title: "Migrate to 'insertRenderObjectChild'" |
| date: 2020-08-20 |
| element: |
| uris: [ 'cupertino.dart', 'widgets.dart', 'material.dart' ] |
| method: 'insertChildRenderObject' |
| inClass: 'SliverMultiBoxAdaptorElement' |
| changes: |
| - kind: 'rename' |
| newName: 'insertRenderObjectChild' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/64254 |
| - title: "Migrate to 'removeRenderObjectChild'" |
| date: 2020-08-20 |
| element: |
| uris: [ 'cupertino.dart', 'widgets.dart', 'material.dart' ] |
| method: 'removeChildRenderObject' |
| inClass: 'SingleChildRenderObjectElement' |
| changes: |
| - kind: 'rename' |
| newName: 'removeRenderObjectChild' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/64254 |
| - title: "Migrate to 'moveRenderObjectChild'" |
| date: 2020-08-20 |
| element: |
| uris: [ 'cupertino.dart', 'widgets.dart', 'material.dart' ] |
| method: 'moveChildRenderObject' |
| inClass: 'SingleChildRenderObjectElement' |
| changes: |
| - kind: 'rename' |
| newName: 'moveRenderObjectChild' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/64254 |
| - title: "Migrate to 'insertRenderObjectChild'" |
| date: 2020-08-20 |
| element: |
| uris: [ 'cupertino.dart', 'widgets.dart', 'material.dart' ] |
| method: 'insertChildRenderObject' |
| inClass: 'SingleChildRenderObjectElement' |
| changes: |
| - kind: 'rename' |
| newName: 'insertRenderObjectChild' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/64254 |
| - title: "Migrate to 'removeRenderObjectChild'" |
| date: 2020-08-20 |
| element: |
| uris: [ 'cupertino.dart', 'widgets.dart', 'material.dart' ] |
| method: 'removeChildRenderObject' |
| inClass: 'MultiChildRenderObjectElement' |
| changes: |
| - kind: 'rename' |
| newName: 'removeRenderObjectChild' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/64254 |
| - title: "Migrate to 'moveRenderObjectChild'" |
| date: 2020-08-20 |
| element: |
| uris: [ 'cupertino.dart', 'widgets.dart', 'material.dart' ] |
| method: 'moveChildRenderObject' |
| inClass: 'MultiChildRenderObjectElement' |
| changes: |
| - kind: 'rename' |
| newName: 'moveRenderObjectChild' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/64254 |
| - title: "Migrate to 'insertRenderObjectChild'" |
| date: 2020-08-20 |
| element: |
| uris: [ 'cupertino.dart', 'widgets.dart', 'material.dart' ] |
| method: 'insertChildRenderObject' |
| inClass: 'MultiChildRenderObjectElement' |
| changes: |
| - kind: 'rename' |
| newName: 'insertRenderObjectChild' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/64254 |
| - title: "Migrate to 'removeRenderObjectChild'" |
| date: 2020-08-20 |
| element: |
| uris: [ 'cupertino.dart', 'widgets.dart', 'material.dart' ] |
| method: 'removeChildRenderObject' |
| inClass: 'ListWheelElement' |
| changes: |
| - kind: 'rename' |
| newName: 'removeRenderObjectChild' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/64254 |
| - title: "Migrate to 'moveRenderObjectChild'" |
| date: 2020-08-20 |
| element: |
| uris: [ 'cupertino.dart', 'widgets.dart', 'material.dart' ] |
| method: 'moveChildRenderObject' |
| inClass: 'ListWheelElement' |
| changes: |
| - kind: 'rename' |
| newName: 'moveRenderObjectChild' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/64254 |
| - title: "Migrate to 'insertRenderObjectChild'" |
| date: 2020-08-20 |
| element: |
| uris: [ 'cupertino.dart', 'widgets.dart', 'material.dart' ] |
| method: 'insertChildRenderObject' |
| inClass: 'ListWheelElement' |
| changes: |
| - kind: 'rename' |
| newName: 'insertRenderObjectChild' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/64254 |
| - title: "Migrate to 'removeRenderObjectChild'" |
| date: 2020-08-20 |
| element: |
| uris: [ 'cupertino.dart', 'widgets.dart', 'material.dart' ] |
| method: 'removeChildRenderObject' |
| inClass: 'LeafRenderObjectElement' |
| changes: |
| - kind: 'rename' |
| newName: 'removeRenderObjectChild' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/64254 |
| - title: "Migrate to 'moveRenderObjectChild'" |
| date: 2020-08-20 |
| element: |
| uris: [ 'cupertino.dart', 'widgets.dart', 'material.dart' ] |
| method: 'moveChildRenderObject' |
| inClass: 'LeafRenderObjectElement' |
| changes: |
| - kind: 'rename' |
| newName: 'moveRenderObjectChild' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/64254 |
| - title: "Migrate to 'insertRenderObjectChild'" |
| date: 2020-08-20 |
| element: |
| uris: [ 'cupertino.dart', 'widgets.dart', 'material.dart' ] |
| method: 'insertChildRenderObject' |
| inClass: 'LeafRenderObjectElement' |
| changes: |
| - kind: 'rename' |
| newName: 'insertRenderObjectChild' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/60320 |
| - title: "Migrate to 'viewId'" |
| date: 2020-07-05 |
| element: |
| uris: [ 'services.dart' ] |
| getter: id |
| inClass: 'TextureAndroidViewController' |
| changes: |
| - kind: 'rename' |
| newName: 'viewId' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/60320 |
| - title: "Migrate to 'viewId'" |
| date: 2020-07-05 |
| element: |
| uris: [ 'services.dart' ] |
| getter: id |
| inClass: 'SurfaceAndroidViewController' |
| changes: |
| - kind: 'rename' |
| newName: 'viewId' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/81858 |
| - title: "Migrate to 'supportedDevices'" |
| date: 2021-05-04 |
| element: |
| uris: [ 'gestures.dart' ] |
| constructor: '' |
| inClass: 'ScaleGestureRecognizer' |
| oneOf: |
| - if: "kind != ''" |
| changes: |
| - kind: 'addParameter' |
| index: 3 |
| name: 'supportedDevices' |
| style: optional_named |
| argumentValue: |
| expression: '<PointerDeviceKind>{{% kind %}}' |
| requiredIf: "kind != ''" |
| - kind: 'removeParameter' |
| name: 'kind' |
| variables: |
| kind: |
| kind: 'fragment' |
| value: 'arguments[kind]' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/81858 |
| - title: "Migrate to 'supportedDevices'" |
| date: 2021-05-04 |
| element: |
| uris: [ 'gestures.dart' ] |
| constructor: '' |
| inClass: 'MultiTapGestureRecognizer' |
| oneOf: |
| - if: "kind != ''" |
| changes: |
| - kind: 'addParameter' |
| index: 4 |
| name: 'supportedDevices' |
| style: optional_named |
| argumentValue: |
| expression: '<PointerDeviceKind>{{% kind %}}' |
| requiredIf: "kind != ''" |
| - kind: 'removeParameter' |
| name: 'kind' |
| variables: |
| kind: |
| kind: 'fragment' |
| value: 'arguments[kind]' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/81858 |
| - title: "Migrate to 'supportedDevices'" |
| date: 2021-05-04 |
| element: |
| uris: [ 'gestures.dart' ] |
| constructor: '' |
| inClass: 'DoubleTapGestureRecognizer' |
| oneOf: |
| - if: "kind != ''" |
| changes: |
| - kind: 'addParameter' |
| index: 3 |
| name: 'supportedDevices' |
| style: optional_named |
| argumentValue: |
| expression: '<PointerDeviceKind>{{% kind %}}' |
| requiredIf: "kind != ''" |
| - kind: 'removeParameter' |
| name: 'kind' |
| variables: |
| kind: |
| kind: 'fragment' |
| value: 'arguments[kind]' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/81858 |
| - title: "Migrate to 'supportedDevices'" |
| date: 2021-05-04 |
| element: |
| uris: [ 'gestures.dart' ] |
| constructor: '' |
| inClass: 'DelayedMultiDragGestureRecognizer' |
| oneOf: |
| - if: "kind != ''" |
| changes: |
| - kind: 'addParameter' |
| index: 4 |
| name: 'supportedDevices' |
| style: optional_named |
| argumentValue: |
| expression: '<PointerDeviceKind>{{% kind %}}' |
| requiredIf: "kind != ''" |
| - kind: 'removeParameter' |
| name: 'kind' |
| variables: |
| kind: |
| kind: 'fragment' |
| value: 'arguments[kind]' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/81858 |
| - title: "Migrate to 'supportedDevices'" |
| date: 2021-05-04 |
| element: |
| uris: [ 'gestures.dart' ] |
| constructor: '' |
| inClass: 'VerticalMultiDragGestureRecognizer' |
| oneOf: |
| - if: "kind != ''" |
| changes: |
| - kind: 'addParameter' |
| index: 3 |
| name: 'supportedDevices' |
| style: optional_named |
| argumentValue: |
| expression: '<PointerDeviceKind>{{% kind %}}' |
| requiredIf: "kind != ''" |
| - kind: 'removeParameter' |
| name: 'kind' |
| variables: |
| kind: |
| kind: 'fragment' |
| value: 'arguments[kind]' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/81858 |
| - title: "Migrate to 'supportedDevices'" |
| date: 2021-05-04 |
| element: |
| uris: [ 'gestures.dart' ] |
| constructor: '' |
| inClass: 'HorizontalMultiDragGestureRecognizer' |
| oneOf: |
| - if: "kind != ''" |
| changes: |
| - kind: 'addParameter' |
| index: 3 |
| name: 'supportedDevices' |
| style: optional_named |
| argumentValue: |
| expression: '<PointerDeviceKind>{{% kind %}}' |
| requiredIf: "kind != ''" |
| - kind: 'removeParameter' |
| name: 'kind' |
| variables: |
| kind: |
| kind: 'fragment' |
| value: 'arguments[kind]' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/81858 |
| - title: "Migrate to 'supportedDevices'" |
| date: 2021-05-04 |
| element: |
| uris: [ 'gestures.dart' ] |
| constructor: '' |
| inClass: 'ImmediateMultiDragGestureRecognizer' |
| oneOf: |
| - if: "kind != ''" |
| changes: |
| - kind: 'addParameter' |
| index: 3 |
| name: 'supportedDevices' |
| style: optional_named |
| argumentValue: |
| expression: '<PointerDeviceKind>{{% kind %}}' |
| requiredIf: "kind != ''" |
| - kind: 'removeParameter' |
| name: 'kind' |
| variables: |
| kind: |
| kind: 'fragment' |
| value: 'arguments[kind]' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/81858 |
| - title: "Migrate to 'supportedDevices'" |
| date: 2021-05-04 |
| element: |
| uris: [ 'gestures.dart' ] |
| constructor: '' |
| inClass: 'MultiDragGestureRecognizer' |
| oneOf: |
| - if: "kind != ''" |
| changes: |
| - kind: 'addParameter' |
| index: 3 |
| name: 'supportedDevices' |
| style: optional_named |
| argumentValue: |
| expression: '<PointerDeviceKind>{{% kind %}}' |
| requiredIf: "kind != ''" |
| - kind: 'removeParameter' |
| name: 'kind' |
| variables: |
| kind: |
| kind: 'fragment' |
| value: 'arguments[kind]' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/81858 |
| - title: "Migrate to 'supportedDevices'" |
| date: 2021-05-04 |
| element: |
| uris: [ 'gestures.dart' ] |
| constructor: '' |
| inClass: 'LongPressGestureRecognizer' |
| oneOf: |
| - if: "kind != ''" |
| changes: |
| - kind: 'addParameter' |
| index: 4 |
| name: 'supportedDevices' |
| style: optional_named |
| argumentValue: |
| expression: '<PointerDeviceKind>{{% kind %}}' |
| requiredIf: "kind != ''" |
| - kind: 'removeParameter' |
| name: 'kind' |
| variables: |
| kind: |
| kind: 'fragment' |
| value: 'arguments[kind]' |
| |
| # Changes made in https://github.com/flutter/flutter/pull/81858 |
| - title: "Migrate to 'supportedDevices'" |
| date: 2021-05-04 |
| element: |
| uris: [ 'gestures.dart' ] |
| constructor: '' |
| inClass: 'ForcePressGestureRecognizer' |
| oneOf: |
| - |