You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
544 B
Dart

import 'package:flutter/material.dart';
class MealItemTrait extends StatelessWidget {
const MealItemTrait({
super.key,
required this.icon,
required this.label,
});
final IconData icon;
final String label;
@override
Widget build(BuildContext context) {
return Row(children: [
Icon(
icon,
size: 17,
color: Colors.white,
),
const SizedBox(width: 6),
Text(
label,
style: const TextStyle(
color: Colors.white,
),
),
]);
}
}