Skip to content

Commit

Permalink
style: code format.
Browse files Browse the repository at this point in the history
  • Loading branch information
xuelongqy committed Apr 29, 2024
1 parent 690294d commit 8cb7d53
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions lib/src/indicator/footer/footer_locator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ class FooterLocator extends StatelessWidget {
super.key,
this.paintExtent = 0,
this.clearExtent = true,
}) : _isSliver = false;
}) : _isSliver = false;

/// User in Sliver
const FooterLocator.sliver({
super.key,
this.paintExtent = 0,
this.clearExtent = true,
}) : _isSliver = true;
}) : _isSliver = true;

@override
Widget build(BuildContext context) {
Expand Down
4 changes: 2 additions & 2 deletions lib/src/indicator/header/header_locator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ class HeaderLocator extends StatelessWidget {
super.key,
this.paintExtent = 0,
this.clearExtent = true,
}) : _isSliver = false;
}) : _isSliver = false;

/// User in Sliver
const HeaderLocator.sliver({
super.key,
this.paintExtent = 0,
this.clearExtent = true,
}) : _isSliver = true;
}) : _isSliver = true;

@override
Widget build(BuildContext context) {
Expand Down
2 changes: 1 addition & 1 deletion lib/src/styles/classic/classic_indicator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ class _ClassicIndicator extends StatefulWidget {
this.iconTheme,
this.progressIndicatorSize,
this.progressIndicatorStrokeWidth,
}) : assert(
}) : assert(
mainAxisAlignment == MainAxisAlignment.start ||
mainAxisAlignment == MainAxisAlignment.center ||
mainAxisAlignment == MainAxisAlignment.end,
Expand Down

0 comments on commit 8cb7d53

Please sign in to comment.