File tree 8 files changed +24
-18
lines changed
intro_flutter_gpu/step_11/lib
8 files changed +24
-18
lines changed Original file line number Diff line number Diff line change @@ -103,10 +103,9 @@ class TrianglePainter extends CustomPainter {
103
103
);
104
104
105
105
// Create model matrix with multiple rotations
106
- final model =
107
- vm.Matrix4 .identity ()
108
- ..rotateY (angle)
109
- ..rotateX (angle / 2 );
106
+ final model = vm.Matrix4 .identity ()
107
+ ..rotateY (angle)
108
+ ..rotateX (angle / 2 );
110
109
111
110
// Move camera back a bit more for better view
112
111
final view = vm.Matrix4 .translation (vm.Vector3 (0.0 , 0.0 , - 2.5 ));
Original file line number Diff line number Diff line change @@ -103,8 +103,9 @@ class _RecommenderDemoState extends State<RecommenderDemo> {
103
103
itemCount: _movieList.length,
104
104
itemBuilder: (context, index) {
105
105
return ListTile (
106
- leading:
107
- _movieList.isEmpty ? null : const FlutterLogo (),
106
+ leading: _movieList.isEmpty
107
+ ? null
108
+ : const FlutterLogo (),
108
109
title: Text (_movieList[index]),
109
110
);
110
111
},
Original file line number Diff line number Diff line change @@ -92,8 +92,9 @@ class _RecommenderDemoState extends State<RecommenderDemo> {
92
92
itemCount: _movieList.length,
93
93
itemBuilder: (context, index) {
94
94
return ListTile (
95
- leading:
96
- _movieList.isEmpty ? null : const FlutterLogo (),
95
+ leading: _movieList.isEmpty
96
+ ? null
97
+ : const FlutterLogo (),
97
98
title: Text (_movieList[index]),
98
99
);
99
100
},
Original file line number Diff line number Diff line change @@ -92,8 +92,9 @@ class _RecommenderDemoState extends State<RecommenderDemo> {
92
92
itemCount: _movieList.length,
93
93
itemBuilder: (context, index) {
94
94
return ListTile (
95
- leading:
96
- _movieList.isEmpty ? null : const FlutterLogo (),
95
+ leading: _movieList.isEmpty
96
+ ? null
97
+ : const FlutterLogo (),
97
98
title: Text (_movieList[index]),
98
99
);
99
100
},
Original file line number Diff line number Diff line change @@ -92,8 +92,9 @@ class _RecommenderDemoState extends State<RecommenderDemo> {
92
92
itemCount: _movieList.length,
93
93
itemBuilder: (context, index) {
94
94
return ListTile (
95
- leading:
96
- _movieList.isEmpty ? null : const FlutterLogo (),
95
+ leading: _movieList.isEmpty
96
+ ? null
97
+ : const FlutterLogo (),
97
98
title: Text (_movieList[index]),
98
99
);
99
100
},
Original file line number Diff line number Diff line change @@ -92,8 +92,9 @@ class _RecommenderDemoState extends State<RecommenderDemo> {
92
92
itemCount: _movieList.length,
93
93
itemBuilder: (context, index) {
94
94
return ListTile (
95
- leading:
96
- _movieList.isEmpty ? null : const FlutterLogo (),
95
+ leading: _movieList.isEmpty
96
+ ? null
97
+ : const FlutterLogo (),
97
98
title: Text (_movieList[index]),
98
99
);
99
100
},
Original file line number Diff line number Diff line change @@ -103,8 +103,9 @@ class _RecommenderDemoState extends State<RecommenderDemo> {
103
103
itemCount: _movieList.length,
104
104
itemBuilder: (context, index) {
105
105
return ListTile (
106
- leading:
107
- _movieList.isEmpty ? null : const FlutterLogo (),
106
+ leading: _movieList.isEmpty
107
+ ? null
108
+ : const FlutterLogo (),
108
109
title: Text (_movieList[index]),
109
110
);
110
111
},
Original file line number Diff line number Diff line change @@ -103,8 +103,9 @@ class _RecommenderDemoState extends State<RecommenderDemo> {
103
103
itemCount: _movieList.length,
104
104
itemBuilder: (context, index) {
105
105
return ListTile (
106
- leading:
107
- _movieList.isEmpty ? null : const FlutterLogo (),
106
+ leading: _movieList.isEmpty
107
+ ? null
108
+ : const FlutterLogo (),
108
109
title: Text (_movieList[index]),
109
110
);
110
111
},
You can’t perform that action at this time.
0 commit comments