ScreenLayout.named constructor

ScreenLayout.named({
  1. Key? key,
  2. Widget? child,
  3. required String name,
})

Creates a ScreenLayout with the name name that adjusts the size of the widget specified in child.

Implementation

factory ScreenLayout.named({
  Key? key,
  Widget? child,
  required String name,
}) {
  return ScreenLayout(
    key: key,
    name: name,
    child: child,
  );
}