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

dan-chez / car_manager_ui / 21474519638

29 Jan 2026 10:24AM UTC coverage: 99.697% (-0.3%) from 100.0%
21474519638

Pull #105

github

dan-chez
Remove const from widget constructors in tests
Pull Request #105: [NO-TICKET] Update Flutter and Android Gradle Plugin versions

987 of 990 relevant lines covered (99.7%)

2.08 hits per line

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

87.5
/lib/src/components/dialogs/loading/loading_dialog.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:carmanager_ui/src/components/animations/cm_animation.dart';
16
import 'package:carmanager_ui/src/components/dialogs/base/dialog_base.dart';
17
import 'package:carmanager_ui/src/components/dialogs/loading/loading_dialog_data.dart';
18
import 'package:flutter/material.dart';
19

20
/// To call [LoadingDialog] follow next example
21
/// Example usage:
22
/// ```dart
23
/// context.push(
24
///   LoadingDialogRoute.path,
25
///   extra: LoadingDialogRoute(...),
26
///   ),
27
/// );
28
/// ```
29
class LoadingDialog extends DialogBase<LoadingDialogData> {
30
  const LoadingDialog({
×
31
    super.key,
32
    required super.data,
33
  });
34

35
  @override
1✔
36
  Widget build(BuildContext context) => PopScope(
1✔
37
        canPop: false,
38
        child: Center(
1✔
39
          child: SizedBox(
1✔
40
            height: data.height,
2✔
41
            width: data.width,
2✔
42
            child: CMAnimation(data.lottieAssetPath),
3✔
43
          ),
44
        ),
45
      );
46
}
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