@@ -8,22 +8,22 @@ abstract class ReactterProviderWrapper implements ReactterWrapperWidget {}
88/// A Widget that provides an instance of [T] type to widget tree
99/// that can be access through the methods [BuildContext] extension.
1010///
11- ///```dart
11+ /// ```dart
1212/// ReactterProvider<AppController>(
1313/// () => AppController(),
1414/// builder: (appController, context, child) {
1515/// return Text("StateA: ${appController.stateA.value}");
1616/// },
1717/// )
18- ///```
18+ /// ```
1919///
2020/// Use [id] property to identify the [T] instance.
2121///
2222/// Use [child] property to pass a [Widget] which to be built once only.
2323/// It will be sent through the [builder] callback, so you can incorporate it
2424/// into your build:
2525///
26- ///```dart
26+ /// ```dart
2727/// ReactterProvider<AppController>(
2828/// () => AppController(),
2929/// child: Text("This widget build only once"),
@@ -38,7 +38,7 @@ abstract class ReactterProviderWrapper implements ReactterWrapperWidget {}
3838/// );
3939/// },
4040/// )
41- ///```
41+ /// ```
4242/// > **RECOMMENDED:**
4343/// > Dont's use Object with constructor parameters to prevent conflicts.
4444///
@@ -47,7 +47,7 @@ abstract class ReactterProviderWrapper implements ReactterWrapperWidget {}
4747/// exposes the instance of [T] type defined on first parameter([InstanceContextBuilder] )
4848/// through the [BuildContext] in the widget subtree:
4949/// >
50- /// >```dart
50+ /// > ```dart
5151/// > ReactterProvider<AppController>(
5252/// > () => AppController(),
5353/// > builder: (appController, context, child) {
@@ -74,7 +74,7 @@ abstract class ReactterProviderWrapper implements ReactterWrapperWidget {}
7474/// > );
7575/// > }
7676/// > }
77- /// >```
77+ /// > ```
7878/// >
7979/// > In the above example, stateA remains static while the [Builder] is rebuilt
8080/// > according to the changes in stateB. Because the [Builder] 's context kept in
0 commit comments