123456789101112131415161718192021222324252627282930 |
- import 'package:flutter/material.dart';
- import 'package:fast_med_flutter/model/event.dart';
-
- // Implementacion para ver recordatorios de citas creadas
-
- class EventDetailsPage extends StatelessWidget {
- final EventModel event;
-
- const EventDetailsPage({Key key, this.event}) : super(key: key);
-
- @override
- Widget build(BuildContext context){
- return Scaffold(
- appBar: AppBar(
- title: Text('Note details'),
- ),
- body: SingleChildScrollView(
- padding: const EdgeInsets.all(16.0),
- child: Column(
- crossAxisAlignment: CrossAxisAlignment.start,
- children: <Widget>[
- Text(event.title, style: Theme.of(context).textTheme.display1,),
- SizedBox(height: 20.0),
- Text(event.description)
- ],
- ),
- ),
- );
- }
- }
|