header method
Implementation
Widget header() {
return Row(
children: [
Padding(
padding: const EdgeInsets.only(right: 16),
child: GestureDetector(
onTap: () {
Get.back();
},
child: Container(
color: Colors.white,
child: Icon(
Icons.arrow_back_ios_new,
size: 16,
color: Strings.primaryColor,
),
),
),
),
Expanded(
child: Text(
'Tracking',
style: textCustom(size: 14, weight: FontWeight.w700),
),
),
GestureDetector(
onTap: () {},
child: Container(
width: 24,
height: 24,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(12),
color: Colors.grey.shade400,
border: Border.all(color: Colors.black),
),
child: Center(
child: Text(
'?',
style: textCaption(),
),
),
),
),
],
);
}