safeArea method

Widget safeArea({
  1. Key? key,
  2. bool top = true,
  3. bool bottom = true,
  4. bool left = true,
  5. bool right = true,
  6. EdgeInsets minimum = EdgeInsets.zero,
})

安全区

Implementation

Widget safeArea({
  Key? key,
  bool top = true,
  bool bottom = true,
  bool left = true,
  bool right = true,
  EdgeInsets minimum = EdgeInsets.zero,
}) =>
    SafeArea(
      key: key,
      top: top,
      bottom: bottom,
      left: left,
      right: right,
      minimum: minimum,
      child: this,
    );