File tree Expand file tree Collapse file tree 3 files changed +0
-24
lines changed
lib/shared/widgets/feed_core Expand file tree Collapse file tree 3 files changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ class HeadlineTileImageStart extends StatelessWidget {
1414 required this .headline,
1515 super .key,
1616 this .onHeadlineTap,
17- this .trailing,
1817 this .currentContextEntityType,
1918 this .currentContextEntityId,
2019 });
@@ -25,9 +24,6 @@ class HeadlineTileImageStart extends StatelessWidget {
2524 /// Callback when the main content of the headline (e.g., title area) is tapped.
2625 final VoidCallback ? onHeadlineTap;
2726
28- /// An optional widget to display at the end of the tile.
29- final Widget ? trailing;
30-
3127 /// The type of the entity currently being viewed in detail (e.g., on a category page).
3228 final ContentType ? currentContextEntityType;
3329
@@ -113,10 +109,6 @@ class HeadlineTileImageStart extends StatelessWidget {
113109 ],
114110 ),
115111 ),
116- if (trailing != null ) ...[
117- const SizedBox (width: AppSpacing .sm),
118- trailing! ,
119- ],
120112 ],
121113 ),
122114 ),
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ class HeadlineTileImageTop extends StatelessWidget {
1414 required this .headline,
1515 super .key,
1616 this .onHeadlineTap,
17- this .trailing,
1817 this .currentContextEntityType,
1918 this .currentContextEntityId,
2019 });
@@ -25,9 +24,6 @@ class HeadlineTileImageTop extends StatelessWidget {
2524 /// Callback when the main content of the headline (e.g., title area) is tapped.
2625 final VoidCallback ? onHeadlineTap;
2726
28- /// An optional widget to display at the end of the tile (e.g., in line with title).
29- final Widget ? trailing;
30-
3127 /// The type of the entity currently being viewed in detail (e.g., on a category page).
3228 final ContentType ? currentContextEntityType;
3329
@@ -130,10 +126,6 @@ class HeadlineTileImageTop extends StatelessWidget {
130126 ),
131127 ),
132128 ),
133- if (trailing != null ) ...[
134- const SizedBox (width: AppSpacing .sm),
135- trailing! ,
136- ],
137129 ],
138130 ),
139131 ),
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ class HeadlineTileTextOnly extends StatelessWidget {
1616 required this .headline,
1717 super .key,
1818 this .onHeadlineTap,
19- this .trailing,
2019 this .currentContextEntityType,
2120 this .currentContextEntityId,
2221 });
@@ -27,9 +26,6 @@ class HeadlineTileTextOnly extends StatelessWidget {
2726 /// Callback when the main content of the headline (e.g., title) is tapped.
2827 final VoidCallback ? onHeadlineTap;
2928
30- /// An optional widget to display at the end of the tile.
31- final Widget ? trailing;
32-
3329 /// The type of the entity currently being viewed in detail (e.g., on a category page).
3430 final ContentType ? currentContextEntityType;
3531
@@ -86,10 +82,6 @@ class HeadlineTileTextOnly extends StatelessWidget {
8682 ],
8783 ),
8884 ),
89- if (trailing != null ) ...[
90- const SizedBox (width: AppSpacing .sm),
91- trailing! ,
92- ],
9385 ],
9486 ),
9587 ),
You can’t perform that action at this time.
0 commit comments