AppCubitBuilder constructor

AppCubitBuilder({
  1. required BlocWidgetBuilder<AppState> builder,
  2. Key? key,
  3. BlocBuilderCondition<AppState>? buildWhen,
})

Implementation

AppCubitBuilder({
  required super.builder,
  super.key,
  BlocBuilderCondition<AppState>? buildWhen,
}) : super(
        buildWhen: buildWhen ?? (previous, current) => previous != current,
      );