Rename DefaultTextStyle.inherit to merge (#5974)
For consistency with IconTheme and TextStyle.merge. Fixes #4652
This commit is contained in:
@@ -316,7 +316,7 @@ class CardCollectionState extends State<CardCollection> {
|
||||
}
|
||||
)
|
||||
)
|
||||
: new DefaultTextStyle.inherit(
|
||||
: new DefaultTextStyle.merge(
|
||||
context: context,
|
||||
style: cardLabelStyle.copyWith(
|
||||
fontSize: _varyFontSizes ? 5.0 + index : null
|
||||
|
||||
Reference in New Issue
Block a user