Commit e4b81cf
committed
Refactor: Simplify progressSemantic call
The ternary operator in the `progressSemantic` call within the `DotsIndicator` widget has been simplified. Instead of checking if `widget.progressSemantic` is not null and then calling it, it now uses the null-aware operator `?.` for a more concise and readable conditional call.
The unused import `dart:nativewrappers/_internal/vm/lib/ffi_allocation_patch.dart` has also been removed.1 parent 830b4b7 commit e4b81cf
1 file changed
+4
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
684 | 683 | | |
685 | 684 | | |
686 | 685 | | |
687 | | - | |
688 | | - | |
689 | | - | |
690 | | - | |
691 | | - | |
692 | | - | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
693 | 690 | | |
694 | 691 | | |
695 | 692 | | |
| |||
0 commit comments