You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
doctor_app_flutter/lib/screens/pharmacy_intervention/widgets/InterventionDetails.dart

39 lines
830 B
Dart

import 'package:flutter/material.dart';
class InterventionDetails extends StatelessWidget {
final String title;
final String data;
const InterventionDetails(
{super.key, required this.title, required this.data});
@override
Widget build(BuildContext context) {
return Column(
children: [
Text(
title,
textAlign: TextAlign.center,
style: TextStyle(
color: Colors.black,
fontWeight: FontWeight.w600,
fontSize: 13,
),
),
SizedBox(
height: 8,
),
Text(
data,
textAlign: TextAlign.center,
style: TextStyle(
color: Colors.grey,
fontWeight: FontWeight.w400,
fontSize: 12,
),
),
],
);
}
}