header static method

Widget header({
  1. Key? key,
  2. required Widget child,
  3. required double height,
})

Implementation

static Widget header({
  Key? key,
  required Widget child,
  required double height,
}) =>
    PreferredSize(
      key: key,
      child: SunnyPad._header(child: child),
      preferredSize: Size.fromHeight(height),
    );