Skip to content

Commit 303bf91

Browse files
committed
Remove double literal definition
1 parent 2b121bc commit 303bf91

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/feature/base/paginated_model_list.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ class _PaginatedModelListState<E extends DataModel>
145145

146146
Widget _buildFooter() {
147147
return Padding(
148-
padding: const EdgeInsets.symmetric(vertical: 12.0),
148+
padding: const EdgeInsets.symmetric(vertical: 12),
149149
child: Center(
150150
child: widget.isLoadingMore
151151
? const SizedBox(

test/feature/base/snackbar/info_bar_unit_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ void main() {
3939

4040
test('create method returns a SnackBar with specified width', () {
4141
const String testText = 'Custom Width Test';
42-
const double customWidth = 300.0;
42+
const double customWidth = 300;
4343
final SnackBar snackBar = factory.create(testText, customWidth);
4444

4545
// Check content

0 commit comments

Comments
 (0)