패키지, 저장소 및 앱 카테고리 검색

flutter_dialpad 표지
패키지 상세v1.0.5

flutter_dialpad

어떤 Flutter 애플리케이션에도 추가할 수 있는 전화 다이얼러 위젯으로, 번호를 걸 수 있는 기능을 제공합니다. 이 기능은 VoIP 애플리케이션과 결합하여 통화를 할 수 있도록 할 수 있습니다.

AndroidiOSWeb
30일 다운로드
218
좋아요
37
Pub 점수
125

패키지 설치

flutter pub add flutter_dialpad

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

모든 Flutter 애플리케이션 내에서 전화번호를 입력하고 통화할 수 있도록 해주는 플러터 위젯입니다. VoIP 서비스나 전화 기능과의 통합을 위해 설계되었으며, 안드로이드, iOS 및 웹 플랫폼에서 표준 다이얼 패드 기능을 지원합니다. 가볍고 사용자 정의가 가능하여 개발자가 앱에 통화 기능을 원활하게 통합할 수 있습니다. 터치 상호작용에 최적화된 깔끔하고 반응성 있는 키패드 레이아웃을 포함하고 있습니다.

사용 사례

  • VoIP 애플리케이션에 다이얼러 통합하기
  • 통신 앱에 전화번호 입력 기능 추가하기
  • 고객 지원 도구에서 통화 시작 활성화
  • 웹 및 모바일 앱을 위한 전화 기능 구축

주요 기능

  • 반응형 다이얼 패드 UI
  • 크로스 플랫폼 호환성 (Android, iOS, Web)
  • 기존 Flutter 프로젝트와의 간편한 통합
  • 사용자 정의 가능한 키 레이아웃 및 스타일
  • 숫자 입력 및 통화 트리거 지원
  • 내장 터치 피드백 및 사용자 경험 최적화

적합한 대상

  • VoIP 또는 통신 앱을 개발하는 개발자
  • 전화번호 입력 및 통화 기능이 필요한 앱
  • 일관된 UI를 갖춘 다중 플랫폼 대상 프로젝트
  • 경량 다이얼러 솔루션을 원하는 팀

고려 사항

  • 실제 통화 시작을 처리하려면 외부 논리가 필요합니다
  • 오디오 또는 네트워크 통화 관리는 포함되지 않습니다
  • 호출을 위해 플랫폼별 권한이 필요할 수 있습니다
  • UI에 한정됨; 백엔드 호출 처리는 별도로 구현해야 함

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

flutter_dialpad

A phone dialer widget that can be added to any Flutter Application to enable the ability to dial a number. This could be combined with a VoIP application to enable placing calls.

This is a purely Dart widget with no dependency on Android or iOS except for the flutter_dtmf package it uses for DTMF tone generation on pressing a button. You can turn it off by setting enableDtmf: false

Getting Started

@override  
  Widget build(BuildContext context) {  
    return Scaffold(  
      backgroundColor: Colors.black,  
      body: SafeArea(  
        child:  
            DialPad(  
                // temporarily disabled  
                // enableDtmf: true,  
                outputMask: "(000) 000-0000",  
                backspaceButtonIconColor: Colors.red,  
                makeCall: (number){  
                    print(number);  
                }  
            )  
        ),  
    );  
  }  

Pre-built UIs

Support has been added for custom UIs, using Dialpad.ios for iOS style keypad or DialPad.metro metro theme. Additional customization is available with many different options.

UI Scaling

A few considerations:

ScalingType

DialPad supports dynamic scaling of UI. Using either a ScalingType.fixed approach will use preset text & icon sizes. If you are using flutter_web_frame with some window constraints, you may wish to use ScalingType.height. For most cases ScalingType.min should suffice.

ScalingSize

Scaling Size provides an easy way to specify the scalar multiplier for the scaling calculation. Instead of using a predefined value of e.g. 0.001, the ScalingSize.small is now used. Customization for buttons allows making the dial button large with a small backspace button.

Scalable

If you wish to add your own Scalable button, feel free to create a widget with Scalable to make use of the rescale function.

Clamping

Scaled UI elements may become extremely small, using minScalingSize and maxScalingSize you can clamp the scaling to a percentage of the original size. This is useful for ensuring the UI is still usable.

Screenshots

iOS Screenshot Android Screenshot
iOS Screenshot Android Screenshot

To Do

[Done] Add DTMF Tones

  • Shrink Ouput to Fit
  • Support for Local Numbers in Text Input Mask

카테고리

의존성

의존성 목록 2 개

소스 저장소

이 패키지를 사용하는 프로젝트

아직 데이터가 없습니다.