changed everything from filcnaplo to refilc finally
This commit is contained in:
23
refilc_mobile_ui/lib/premium/components/supporter_tile.dart
Normal file
23
refilc_mobile_ui/lib/premium/components/supporter_tile.dart
Normal file
@@ -0,0 +1,23 @@
|
||||
import 'package:refilc/models/supporter.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class SupporterTile extends StatelessWidget {
|
||||
const SupporterTile({super.key, required this.supporter});
|
||||
|
||||
final Supporter supporter;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return ListTile(
|
||||
contentPadding: EdgeInsets.zero,
|
||||
leading: CircleAvatar(
|
||||
backgroundImage: NetworkImage(supporter.avatar),
|
||||
),
|
||||
title: Text(
|
||||
supporter.name,
|
||||
style: const TextStyle(fontWeight: FontWeight.bold),
|
||||
),
|
||||
subtitle: Text(supporter.comment),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user