rename widget
This commit is contained in:
parent
79e865ad9b
commit
22bc9be5b6
1 changed files with 3 additions and 3 deletions
|
@ -116,7 +116,7 @@ class _MomentsSectionState extends State<MomentsSection> {
|
|||
children: _momentsSearchResults
|
||||
.map(
|
||||
(momentsSearchResult) =>
|
||||
MomentsRecommendation(momentsSearchResult),
|
||||
MomentRecommendation(momentsSearchResult),
|
||||
)
|
||||
.toList(),
|
||||
),
|
||||
|
@ -129,14 +129,14 @@ class _MomentsSectionState extends State<MomentsSection> {
|
|||
}
|
||||
}
|
||||
|
||||
class MomentsRecommendation extends StatelessWidget {
|
||||
class MomentRecommendation extends StatelessWidget {
|
||||
static const _width = 100.0;
|
||||
static const _height = 145.0;
|
||||
static const _borderWidth = 1.0;
|
||||
static const _cornerRadius = 5.0;
|
||||
static const _cornerSmoothing = 1.0;
|
||||
final GenericSearchResult momentsSearchResult;
|
||||
const MomentsRecommendation(this.momentsSearchResult, {super.key});
|
||||
const MomentRecommendation(this.momentsSearchResult, {super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
|
|
Loading…
Add table
Reference in a new issue