
Performs a comprehensive project rename from 'barcode_scanner' to 'e_scan' (or 'eScan' for user-facing labels). This update spans all relevant files, including: - Application IDs and bundle identifiers for Android, iOS, macOS, and Linux. - VS Code launch configurations. - Dart package import paths. - Project names and titles in `pubspec.yaml`, `README.md`, and platform-specific configurations (e.g., CMakeLists, Info.plist, AndroidManifest).
32 lines
704 B
Dart
32 lines
704 B
Dart
import 'package:e_scan/themes/app_theme.dart';
|
|
import 'package:flutter/material.dart';
|
|
|
|
class LoadingProgressComponent extends StatelessWidget {
|
|
const LoadingProgressComponent({
|
|
super.key,
|
|
this.color,
|
|
this.height,
|
|
this.width,
|
|
this.value,
|
|
});
|
|
final Color? color;
|
|
final double? height;
|
|
final double? width;
|
|
final double? value;
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return SizedBox(
|
|
height: height ?? 20,
|
|
width: width ?? 20,
|
|
child: CircularProgressIndicator(
|
|
value: value,
|
|
strokeWidth: 2,
|
|
valueColor: AlwaysStoppedAnimation<Color>(
|
|
color ?? AppTheme.of(context).primary,
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|