File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed
Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ import '../widgets/method_list_view.dart';
1414import '../widgets/selected_assets_list_view.dart' ;
1515import 'picker_method.dart' ;
1616
17- @optionalTypeArgs
1817mixin ExamplePageMixin <T extends StatefulWidget > on State <T > {
1918 final ValueNotifier <bool > isDisplayingDetail = ValueNotifier <bool >(true );
2019
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ class MultiAssetsPage extends StatefulWidget {
1414}
1515
1616class _MultiAssetsPageState extends State <MultiAssetsPage >
17- with AutomaticKeepAliveClientMixin , ExamplePageMixin {
17+ with AutomaticKeepAliveClientMixin , ExamplePageMixin < MultiAssetsPage > {
1818 @override
1919 int get maxAssetsCount => 9 ;
2020
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ class SingleAssetPage extends StatefulWidget {
1515}
1616
1717class _SingleAssetPageState extends State <SingleAssetPage >
18- with AutomaticKeepAliveClientMixin , ExamplePageMixin {
18+ with AutomaticKeepAliveClientMixin , ExamplePageMixin < SingleAssetPage > {
1919 @override
2020 int get maxAssetsCount => 1 ;
2121
You can’t perform that action at this time.
0 commit comments