StageBanner<T> constructor

const StageBanner<T>({
  1. Key? key,
  2. required Widget child,
  3. Color? color,
  4. TextStyle? textStyle,
})

Creates a new StageBanner Widget It will show the Name of the current environment if EnableBannerNotifier.enabled is true and ConfigurationChangeNotifier.environment is not production Note this requires that there is a Provider

Implementation

const StageBanner({
  super.key,
  required this.child,
  this.color,
  this.textStyle,
});