Skip to content

Commit 928738e

Browse files
committed
widgets: Remove unnecessary EdgeInsetsDirectional with symmetric start/end
This doesn't seem likely to become asymmetrical, and perhaps we can save a bit of computation with this.
1 parent 48b1fea commit 928738e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/widgets/unread_count_badge.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class UnreadCountBadge extends StatelessWidget {
6666
color: getBackgroundColor(),
6767
),
6868
child: Padding(
69-
padding: const EdgeInsetsDirectional.fromSTEB(4, 0, 4, 1),
69+
padding: const EdgeInsets.fromLTRB(4, 0, 4, 1),
7070
child: Text(
7171
style: const TextStyle(
7272
fontFamily: 'Source Sans 3',

0 commit comments

Comments
 (0)