Skip to content

Commit 874a5bc

Browse files
committed
Add trailing commas for formatting
1 parent 93d3bd5 commit 874a5bc

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

gallery/lib/studies/rally/data.dart

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,12 @@ class AccountData {
5858
///
5959
/// The [primaryAmount] is the amount due in USD.
6060
class BillData {
61-
const BillData(
62-
{this.name, this.primaryAmount, this.dueDate, this.isPaid = false});
61+
const BillData({
62+
this.name,
63+
this.primaryAmount,
64+
this.dueDate,
65+
this.isPaid = false,
66+
});
6367

6468
/// The display name of this entity.
6569
final String name;

gallery/lib/studies/rally/tabs/sidebar.dart

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,16 +66,21 @@ class SidebarItem extends StatelessWidget {
6666
SizedBox(height: 8),
6767
Text(
6868
title,
69-
style:
70-
textTheme.body1.copyWith(fontSize: 16, color: RallyColors.gray60),
69+
style: textTheme.body1.copyWith(
70+
fontSize: 16,
71+
color: RallyColors.gray60,
72+
),
7173
),
7274
SizedBox(height: 8),
7375
Text(
7476
value,
7577
style: textTheme.body2.copyWith(fontSize: 20),
7678
),
7779
SizedBox(height: 8),
78-
Container(color: RallyColors.primaryBackground, height: 1),
80+
Container(
81+
color: RallyColors.primaryBackground,
82+
height: 1,
83+
),
7984
],
8085
);
8186
}

0 commit comments

Comments
 (0)