Skip to content

Commit 894c621

Browse files
committed
Update tfrs-flutter
1 parent d6d0c06 commit 894c621

File tree

8 files changed

+24
-16
lines changed

8 files changed

+24
-16
lines changed

tfrs-flutter/codelab_rebuild.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,9 @@ steps:
125125
itemCount: _movieList.length,
126126
itemBuilder: (context, index) {
127127
return ListTile(
128-
leading:
129-
_movieList.isEmpty ? null : const FlutterLogo(),
128+
leading: _movieList.isEmpty
129+
? null
130+
: const FlutterLogo(),
130131
title: Text(_movieList[index]),
131132
);
132133
},

tfrs-flutter/finished/frontend/lib/main.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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
},

tfrs-flutter/step0/frontend/lib/main.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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
},

tfrs-flutter/step1/frontend/lib/main.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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
},

tfrs-flutter/step2/frontend/lib/main.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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
},

tfrs-flutter/step3/frontend/lib/main.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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
},

tfrs-flutter/step4/frontend/lib/main.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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
},

tfrs-flutter/step5/frontend/lib/main.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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
},

0 commit comments

Comments
 (0)