felangel / sealed_flutter_bloc
Showing 1 of 1 files from the diff.

@@ -15,7 +15,7 @@
Loading
15 15
16 16
/// {@template sealedblocbuilder}
17 17
/// `SealedBlocBuilder` is a special type of [BlocBuilder] which
18 -
/// ensures that every possible [Bloc] state has a corresponding [Widget].
18 +
/// ensures that every possible [Cubit] state has a corresponding [Widget].
19 19
/// ```dart
20 20
/// SealedBlocBuilder3<MyBloc, MyState, Loading, Success, Failure>(
21 21
///   builder: (context, states) => states(
@@ -38,8 +38,8 @@
Loading
38 38
        super(key: key, cubit: cubit, buildWhen: buildWhen);
39 39
40 40
  /// {@template sealedblocwidgetbuilder}
41 -
  /// [builder] will be called with a `BuildContext` and the
42 -
  /// union of all [Bloc] states and must return a `widget`
41 +
  /// [builder] will be called with a [BuildContext] and the
42 +
  /// union of all [Cubit] states and must return a [Widget]
43 43
  /// for each possible state.
44 44
  /// {@endtemplate}
45 45
  final SealedBlocWidgetBuilder1<State, A> builder;
Files Coverage
lib/src/sealed_bloc_builder 100.00%
Project Totals (9 files) 100.00%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading