Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
fujidaiti committed Feb 24, 2024
1 parent e69a4e7 commit a09ddb2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
4 changes: 1 addition & 3 deletions package/lib/src/addon/modal.dart
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,7 @@ class ModalExprollableScrollPhysics extends ScrollPhysics {
/// This physics will delegate its logic to a [BouncingScrollPhysics]
/// while the user is overscrolling, so that the *drag down to dismiss* action is available
/// on every platform. Otherwise, it delegates to the given [parent].
const ModalExprollableScrollPhysics({
ScrollPhysics? parent,
}) : super(parent: parent);
const ModalExprollableScrollPhysics({super.parent});

@override
ModalExprollableScrollPhysics applyTo(ScrollPhysics? ancestor) {
Expand Down
16 changes: 8 additions & 8 deletions package/lib/src/internal/paging.dart
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/// Copied and modified from:
/// - https://github.com/flutter/flutter/tree/master/packages/flutter/lib/src/widgets/page_view.dart
/// - https://github.com/flutter/flutter/tree/master/packages/flutter/lib/src/rendering/sliver_fill.dart
///
/// Changes done:
/// - Replace [SliverFillViewport] with [_SliverFillViewport] in [_PageViewState.build]
/// - In [_RenderSliverFillViewport.performLayout], force the children to always occupy the parent viewport,
/// regardless of [_RenderSliverFillViewport.itemExtent].
// Copied and modified from:
// - https://github.com/flutter/flutter/tree/master/packages/flutter/lib/src/widgets/page_view.dart
// - https://github.com/flutter/flutter/tree/master/packages/flutter/lib/src/rendering/sliver_fill.dart
//
// Changes done:
// - Replace [SliverFillViewport] with [_SliverFillViewport] in [_PageViewState.build]
// - In [_RenderSliverFillViewport.performLayout], force the children to always occupy the parent viewport,
// regardless of [_RenderSliverFillViewport.itemExtent].

// Copyright 2014 The Flutter Authors. All rights reserved.
//
Expand Down

0 comments on commit a09ddb2

Please sign in to comment.