Skip to content

Commit ad8f42f

Browse files
committed
fix: language warning
1 parent 70a1e12 commit ad8f42f

File tree

4 files changed

+0
-8
lines changed

4 files changed

+0
-8
lines changed

Diff for: lib/src/flutter/clippers/vx_arc.dart

-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ class VxArcClipper extends CustomClipper<Path> {
2727
return _getBottomPath(size);
2828
case VxEdge.left:
2929
return _getLeftPath(size);
30-
default:
31-
return _getRightPath(size);
3230
}
3331
}
3432

Diff for: lib/src/flutter/clippers/vx_diagonal.dart

-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ class VxDiagonalClipper extends CustomClipper<Path> {
3232
return _getBottomLeftPath(size);
3333
case VxDiagonalPosition.bottomRight:
3434
return _getBottomRightPath(size);
35-
default:
36-
return _getBottomLeftPath(size);
3735
}
3836
}
3937

Diff for: lib/src/flutter/filters.dart

-2
Original file line numberDiff line numberDiff line change
@@ -359,8 +359,6 @@ class VxFilter extends VxWidgetBuilder<Widget> {
359359
case VxColorFilter.polaroid:
360360
myMatrix = _polaroid;
361361
break;
362-
default:
363-
myMatrix = _noFilter;
364362
}
365363
return this;
366364
}

Diff for: lib/src/flutter/list.dart

-2
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,6 @@ class VxOrderedList extends StatelessWidget {
184184
return '${_toRomanNumeral(index)}.';
185185
case VxListType.lowerRoman:
186186
return '${_toRomanNumeral(index).toLowerCase()}.';
187-
default:
188-
return '$index.';
189187
}
190188
}
191189

0 commit comments

Comments
 (0)