Header_Stack function

Widget Header_Stack(
  1. BuildContext context,
  2. String title, [
  3. Widget? right,
  4. Widget? left,
])

Implementation

Widget Header_Stack(BuildContext context, String title, [Widget? right, Widget? left]) {
    return Header(
        left ?? CustomBackButton(context),
        CustomText(variant: 'heading', font_size:'h4', txt: title),
        right ?? Container(),
    );
}