• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dan-chez / car_manager_ui / 11023121854

24 Sep 2024 10:47PM UTC coverage: 94.275%. First build
11023121854

Pull #32

github

web-flow
[CARMAN-239] Move Toggle Button To Package (#22)

* Move toggle button to package

* Solve PR comments

---------

Co-authored-by: DAArbelaez <diegoandresarbelaez@gmail.com>
Co-authored-by: Daniel Sanchez <44003827+dan-chez@users.noreply.github.com>
Pull Request #32: Support: Release 0.0.1

494 of 524 new or added lines in 38 files covered. (94.27%)

494 of 524 relevant lines covered (94.27%)

1.75 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/lib/src/utils/cm_scroll_behavior.dart
1
// Copyright 2024 Danchez
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
// http://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14

15
import 'package:flutter/material.dart';
16

17
class CMScrollBehavior extends ScrollBehavior {
NEW
18
  @override
×
19
  Widget buildOverscrollIndicator(BuildContext context, Widget child, ScrollableDetails details) {
20
    return child;
21
  }
22

NEW
23
  @override
×
24
  ScrollPhysics getScrollPhysics(BuildContext context) {
25
    return const ClampingScrollPhysics();
26
  }
27
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc