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.
fluffychat/lib/pangea/activity_suggestions/activity_suggestion_card_ro...

30 lines
579 B
Dart

import 'package:flutter/material.dart';
class ActivitySuggestionCardRow extends StatelessWidget {
final IconData icon;
final Widget child;
const ActivitySuggestionCardRow({
required this.icon,
required this.child,
super.key,
});
@override
Widget build(BuildContext context) {
return Padding(
padding: const EdgeInsets.symmetric(vertical: 4.0),
child: Row(
spacing: 8.0,
children: [
Icon(
icon,
size: 16.0,
),
Expanded(child: child),
],
),
);
}
}