INNER CODE UNIT · Dart

ContactCard

mhmzdev/devfolio · lib/components/contact.dart:5

class ContactCard extends StatelessComponent {
  final String icon;
  final String title;
  final String description;
  final String action;
  const ContactCard({
    required this.icon,
    required this.title,
    required this.description,
    required this.action,
  });

  @override
  Iterable<Component> build(BuildContext context) sync* {
    yield a(href: action, target: Target.blank, classes: 'contact-card', [
      i(classes: '$icon c-icon', []),
      span(classes: 'c-title', [
        text(title),

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…