File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ Computed Flutter allows you to interface Computed with Flutter-specific function
1414- [ Here's how it works] ( #Hereshowitworks )
1515- [ Using Computed with widgets] ( #UsingComputedwithwidgets )
1616 - [ Using ` Computed[Stateful]Widget ` ] ( #UsingComputedStatefulWidget )
17- - [ Using ` ComputedFlutterMixin ` ] ( #UsingComputedFlutterMixin )
17+ - [ Using ` ComputedFlutter[Stateful]Mixin ` ] ( #UsingComputedFlutterStatefulMixin )
1818 - [ Using ` ComputedBuilder ` ] ( #UsingComputedBuilder )
1919- [ Ingesting data sources] ( #Ingestingdatasources )
2020- [ Using results of computations] ( #Usingresultsofcomputations )
@@ -62,14 +62,18 @@ class MyWidget extends ComputedWidget {
6262}
6363```
6464
65- ### <a name =' UsingComputedFlutterMixin ' ></a >Using ` ComputedFlutterMixin `
65+ ### <a name =' UsingComputedFlutterStatefulMixin ' ></a >Using ` ComputedFlutter[Stateful]Mixin `
6666
67- If you do not want your widgets to extend ` Computed[Stateful]Widget ` , perhaps for widgets already extending some other class, you can use the mixin :
67+ If you do not want your widgets to extend ` Computed[Stateful]Widget ` , perhaps for widgets already extending some other class, you can use the mixins :
6868
6969```
7070class MyWidget extends MyOtherWidget with ComputedFlutterMixin {
7171 ...
7272}
73+
74+ class MyStatefulWidget extends MyOtherStatefulWidget with ComputedFlutterStatefulMixin {
75+ ...
76+ }
7377```
7478
7579### <a name =' UsingComputedBuilder ' ></a >Using ` ComputedBuilder `
You can’t perform that action at this time.
0 commit comments