2024-02-18 17:36:58 +01:00
|
|
|
import 'package:flutter/material.dart';
|
2024-05-25 22:06:43 +02:00
|
|
|
import 'package:simplecloudnotifier/models/channel.dart';
|
2024-02-18 17:36:58 +01:00
|
|
|
|
|
|
|
class ChannelListItem extends StatelessWidget {
|
|
|
|
const ChannelListItem({
|
|
|
|
required this.channel,
|
|
|
|
super.key,
|
|
|
|
});
|
|
|
|
|
|
|
|
final Channel channel;
|
|
|
|
|
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) => ListTile(
|
|
|
|
leading: const SizedBox(width: 40, height: 40, child: const Placeholder()),
|
|
|
|
title: Text(channel.internalName),
|
|
|
|
);
|
|
|
|
}
|