import 'package:dialer/features/contacts/contact_service.dart';
import 'package:flutter/material.dart';
List<History> histories = [
History("Hello"),
];
class HistoryPage extends StatefulWidget {
const HistoryPage({super.key});
@override
_HistoryPageState createState() => _HistoryPageState();
}
class _HistoryPageState extends State<HistoryPage> {
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Colors.black,
appBar: AppBar(
title: const Text('History'),
),
body: ListView.builder(
itemCount: histories.length,
itemBuilder: (context, index) {
//
},
);
class History {
final String text;
History(this.text);