Skip to content

Commit edc58a2

Browse files
committed
Expansion Tile Fixes:
* Fix ExpansionTile description and preview rendering in the component library. * Remove children padding setting. * Fix visual density settings not applying right. * Fix enabling/disabling expansion tile placeholders causing issues. * Disable subtitle when dropping expansion tiles with no subtitles from the component library.
1 parent fa410aa commit edc58a2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

lib/src/api/models/variables_model.g.dart

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/src/api/models/visual_density.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,10 @@ class VisualDensityModel with EquatableMixin, SerializableMixin {
121121
VisualDensityModel copyWith({
122122
double? horizontal,
123123
double? vertical,
124+
VisualDensityType? type,
124125
}) {
125126
return VisualDensityModel(
127+
type: type ?? this.type,
126128
horizontal: horizontal ?? this.horizontal,
127129
vertical: vertical ?? this.vertical,
128130
);

0 commit comments

Comments
 (0)