Merge branch 'development' of https://gitlab.com/Cloud_Solution/doctor_app_flutter into roaa2.8_addnewmedicationservice
commit
6d0ff69386
Binary file not shown.
After Width: | Height: | Size: 38 KiB |
@ -0,0 +1,36 @@
|
||||
import 'package:doctor_app_flutter/config/size_config.dart';
|
||||
import 'package:doctor_app_flutter/widgets/shared/app_texts_widget.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class HeaderRow extends StatelessWidget {
|
||||
final String label;
|
||||
final String value;
|
||||
|
||||
const HeaderRow({Key key, this.label, this.value}) : super(key: key);
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Row(
|
||||
// crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
AppText(
|
||||
label,
|
||||
isCopyable: true,
|
||||
fontSize: SizeConfig.getTextMultiplierBasedOnWidth() * 3,
|
||||
color: Color(0xFF575757),
|
||||
fontWeight: FontWeight.w600,
|
||||
),
|
||||
SizedBox(
|
||||
width: 1,
|
||||
),
|
||||
AppText(
|
||||
value,
|
||||
fontSize: SizeConfig.getTextMultiplierBasedOnWidth() * 3.5,
|
||||
color: Color(0xFF2E303A),
|
||||
fontWeight: FontWeight.w700,
|
||||
isCopyable: true,
|
||||
),
|
||||
],
|
||||
);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue