Skip to content

Commit

Permalink
refactor: general refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
jhomlala committed Nov 9, 2023
1 parent 4db23ea commit b835f4e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/utils/catcher_error_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ class CatcherErrorWidget extends StatelessWidget {
required this.maxWidthForSmallMode,
super.key,
this.details,
}) : assert(maxWidthForSmallMode > 0, '');
}) : assert(
maxWidthForSmallMode > 0,
'Max width for small mode must be greater than 0',
);

@override
Widget build(BuildContext context) {
Expand Down

0 comments on commit b835f4e

Please sign in to comment.