refactor: 사용하지 않는 파일 9개 정리
- 코드베이스 분석을 통해 사용되지 않는 파일 식별 및 삭제 - migration, utils, models, screens 등 미사용 파일 제거 - flutter analyze 결과: 63개 → 48개 오류로 개선 - 전체 .dart 파일 수: 365개로 정리 완료 삭제된 파일: - lib/core/migrations/execute_migration.dart - lib/core/utils/login_diagnostics.dart - lib/utils/equipment_display_helper.dart - lib/utils/formatters/business_number_formatter.dart - lib/utils/user_utils.dart - lib/models/user_phone_field.dart - lib/screens/rent/rent_list_screen_simple.dart - lib/screens/common/widgets/category_autocomplete_field.dart - lib/screens/common/widgets/company_branch_dropdown.dart ✅ 빌드 검증 완료: flutter pub get, build_runner 성공 ✅ Phase 10 이후 추가 코드베이스 정리 완료
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
// 전화번호 입력 필드 관리를 위한 클래스
|
||||
// 타입 안정성 및 코드 간결성을 위해 사용
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class UserPhoneField {
|
||||
// 전화번호 종류(휴대폰, 사무실 등)
|
||||
String type;
|
||||
// 전화번호 입력 컨트롤러
|
||||
final TextEditingController controller;
|
||||
|
||||
UserPhoneField({required this.type, String? initialValue})
|
||||
: controller = TextEditingController(text: initialValue);
|
||||
|
||||
// 현재 입력된 전화번호 반환
|
||||
String get number => controller.text;
|
||||
|
||||
// 컨트롤러 해제
|
||||
void dispose() => controller.dispose();
|
||||
}
|
||||
Reference in New Issue
Block a user