This repository has been archived on 2024-11-18. You can view files and clone it, but cannot push or open issues or pull requests.
dialer/lib/features/history/history_page.dart
2024-10-18 22:45:35 +03:00

39 lines
756 B
Dart

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> {
@override
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);
}