Header_Button function

Widget Header_Button(
  1. BuildContext context,
  2. String title,
  3. CustomButton button
)

Implementation

Widget Header_Button(BuildContext context, String title, CustomButton button) {
    return Header(
        CustomBackButton(context),
        CustomText(variant: 'heading', font_size:'h4', txt: title),
        Container(padding: EdgeInsets.symmetric(horizontal: 16), child: button),
    );
}