Skip to content

Commit 0de9624

Browse files
committed
dart format
1 parent 5b24c90 commit 0de9624

File tree

7 files changed

+14
-21
lines changed

7 files changed

+14
-21
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,8 @@ class _RecommenderDemoState extends State<RecommenderDemo> {
103103
itemCount: _movieList.length,
104104
itemBuilder: (context, index) {
105105
return ListTile(
106-
leading: _movieList.isEmpty
107-
? null
108-
: const FlutterLogo(),
106+
leading:
107+
_movieList.isEmpty ? null : const FlutterLogo(),
109108
title: Text(_movieList[index]),
110109
);
111110
},

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,8 @@ class _RecommenderDemoState extends State<RecommenderDemo> {
9292
itemCount: _movieList.length,
9393
itemBuilder: (context, index) {
9494
return ListTile(
95-
leading: _movieList.isEmpty
96-
? null
97-
: const FlutterLogo(),
95+
leading:
96+
_movieList.isEmpty ? null : const FlutterLogo(),
9897
title: Text(_movieList[index]),
9998
);
10099
},

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,8 @@ class _RecommenderDemoState extends State<RecommenderDemo> {
9292
itemCount: _movieList.length,
9393
itemBuilder: (context, index) {
9494
return ListTile(
95-
leading: _movieList.isEmpty
96-
? null
97-
: const FlutterLogo(),
95+
leading:
96+
_movieList.isEmpty ? null : const FlutterLogo(),
9897
title: Text(_movieList[index]),
9998
);
10099
},

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,8 @@ class _RecommenderDemoState extends State<RecommenderDemo> {
9292
itemCount: _movieList.length,
9393
itemBuilder: (context, index) {
9494
return ListTile(
95-
leading: _movieList.isEmpty
96-
? null
97-
: const FlutterLogo(),
95+
leading:
96+
_movieList.isEmpty ? null : const FlutterLogo(),
9897
title: Text(_movieList[index]),
9998
);
10099
},

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,8 @@ class _RecommenderDemoState extends State<RecommenderDemo> {
9292
itemCount: _movieList.length,
9393
itemBuilder: (context, index) {
9494
return ListTile(
95-
leading: _movieList.isEmpty
96-
? null
97-
: const FlutterLogo(),
95+
leading:
96+
_movieList.isEmpty ? null : const FlutterLogo(),
9897
title: Text(_movieList[index]),
9998
);
10099
},

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,8 @@ class _RecommenderDemoState extends State<RecommenderDemo> {
103103
itemCount: _movieList.length,
104104
itemBuilder: (context, index) {
105105
return ListTile(
106-
leading: _movieList.isEmpty
107-
? null
108-
: const FlutterLogo(),
106+
leading:
107+
_movieList.isEmpty ? null : const FlutterLogo(),
109108
title: Text(_movieList[index]),
110109
);
111110
},

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,8 @@ class _RecommenderDemoState extends State<RecommenderDemo> {
103103
itemCount: _movieList.length,
104104
itemBuilder: (context, index) {
105105
return ListTile(
106-
leading: _movieList.isEmpty
107-
? null
108-
: const FlutterLogo(),
106+
leading:
107+
_movieList.isEmpty ? null : const FlutterLogo(),
109108
title: Text(_movieList[index]),
110109
);
111110
},

0 commit comments

Comments
 (0)