alignTop method

Widget alignTop([
  1. double? breakpoint
])

Aligns the widget to the top center of its parent.

Implementation

Widget alignTop([double? breakpoint]) => _apply(
      breakpoint,
      (w) => Align(
        alignment: Alignment.topCenter,
        child: w,
      ),
    );