getHeading static method

Widget getHeading(
  1. String msg
)

Implementation

static Widget getHeading(String msg) {
  return Padding(
      child: Text(
        msg,
        style: TextStyle(color: Colors.white, fontSize: 16.sp),
        textAlign: TextAlign.center,
      ),
      padding: EdgeInsets.only(bottom: 4.w));
}