FeatureGatePageDecoration constructor

FeatureGatePageDecoration(
  1. String feature, {
  2. bool autoEnable = true,
})

Implementation

FeatureGatePageDecoration(String feature, {this.autoEnable = true})
    : super(
          decoration: (ctx, child) => FeatureGate(
                gatedFeature: feature,
                autoEnable: autoEnable,
                child: child,
              ),
          name: 'FeatureGate+$feature');