File tree Expand file tree Collapse file tree 8 files changed +24
-18
lines changed
intro_flutter_gpu/step_11/lib Expand file tree Collapse file tree 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 {
103103 );
104104
105105 // 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 );
110109
111110 // Move camera back a bit more for better view
112111 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> {
103103 itemCount: _movieList.length,
104104 itemBuilder: (context, index) {
105105 return ListTile (
106- leading:
107- _movieList.isEmpty ? null : const FlutterLogo (),
106+ leading: _movieList.isEmpty
107+ ? null
108+ : const FlutterLogo (),
108109 title: Text (_movieList[index]),
109110 );
110111 },
Original file line number Diff line number Diff line change @@ -92,8 +92,9 @@ class _RecommenderDemoState extends State<RecommenderDemo> {
9292 itemCount: _movieList.length,
9393 itemBuilder: (context, index) {
9494 return ListTile (
95- leading:
96- _movieList.isEmpty ? null : const FlutterLogo (),
95+ leading: _movieList.isEmpty
96+ ? null
97+ : const FlutterLogo (),
9798 title: Text (_movieList[index]),
9899 );
99100 },
Original file line number Diff line number Diff line change @@ -92,8 +92,9 @@ class _RecommenderDemoState extends State<RecommenderDemo> {
9292 itemCount: _movieList.length,
9393 itemBuilder: (context, index) {
9494 return ListTile (
95- leading:
96- _movieList.isEmpty ? null : const FlutterLogo (),
95+ leading: _movieList.isEmpty
96+ ? null
97+ : const FlutterLogo (),
9798 title: Text (_movieList[index]),
9899 );
99100 },
Original file line number Diff line number Diff line change @@ -92,8 +92,9 @@ class _RecommenderDemoState extends State<RecommenderDemo> {
9292 itemCount: _movieList.length,
9393 itemBuilder: (context, index) {
9494 return ListTile (
95- leading:
96- _movieList.isEmpty ? null : const FlutterLogo (),
95+ leading: _movieList.isEmpty
96+ ? null
97+ : const FlutterLogo (),
9798 title: Text (_movieList[index]),
9899 );
99100 },
Original file line number Diff line number Diff line change @@ -92,8 +92,9 @@ class _RecommenderDemoState extends State<RecommenderDemo> {
9292 itemCount: _movieList.length,
9393 itemBuilder: (context, index) {
9494 return ListTile (
95- leading:
96- _movieList.isEmpty ? null : const FlutterLogo (),
95+ leading: _movieList.isEmpty
96+ ? null
97+ : const FlutterLogo (),
9798 title: Text (_movieList[index]),
9899 );
99100 },
Original file line number Diff line number Diff line change @@ -103,8 +103,9 @@ class _RecommenderDemoState extends State<RecommenderDemo> {
103103 itemCount: _movieList.length,
104104 itemBuilder: (context, index) {
105105 return ListTile (
106- leading:
107- _movieList.isEmpty ? null : const FlutterLogo (),
106+ leading: _movieList.isEmpty
107+ ? null
108+ : const FlutterLogo (),
108109 title: Text (_movieList[index]),
109110 );
110111 },
Original file line number Diff line number Diff line change @@ -103,8 +103,9 @@ class _RecommenderDemoState extends State<RecommenderDemo> {
103103 itemCount: _movieList.length,
104104 itemBuilder: (context, index) {
105105 return ListTile (
106- leading:
107- _movieList.isEmpty ? null : const FlutterLogo (),
106+ leading: _movieList.isEmpty
107+ ? null
108+ : const FlutterLogo (),
108109 title: Text (_movieList[index]),
109110 );
110111 },
You can’t perform that action at this time.
0 commit comments