mirrored_repositories/notes_ignite_02/lib/pages/home
import 'package:flutter/material.dart';

class NoteListPage extends StatelessWidget {
  final String description;
  final VoidCallback onTap;

  const NoteListPage({
    Key? key,
    required this.description,
    required this.onTap,
  }) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Card(
      child: ListTile(title: Text(description), onTap: onTap),
    );
  }
}
