offstage method

Offstage offstage(
  1. bool offstage, {
  2. Key? key,
})

用Offstage包裹当前组件

Implementation

Offstage offstage(bool offstage, {Key? key}) {
  return Offstage(
    key: key,
    offstage: offstage,
    child: this,
  );
}