FLUTTER ECOSYSTEM

zuvola/flutter_simple_calculator

간단한 계산기를 제공하는 Flutter 위젯입니다.

flutter_simple_calculator 프로젝트 이미지
Stars
26
Forks
27
최근 푸시(UTC)
2026. 3. 4.
프로젝트 상태
활성
zuvola GitHub avatar
언어DartC++CMakeHTMLCSwiftKotlinObjective-C

이 저장소가 배포한 패키지

사용 중인 의존성

의존성 목록 7 개

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

README 펼치기 / 접기

flutter_simple_calculator

Flutter widget that provides simple calculator. You can easily integrate a calculator to your apps.

pub package

Default style
https://github.com/zuvola/flutter_simple_calculator/blob/master/example/screenshot_1.png?raw=true
With custom styles
https://github.com/zuvola/flutter_simple_calculator/blob/master/example/screenshot_2.png?raw=true
SimpleCalculator(
  theme: const CalculatorThemeData(
    displayColor: Colors.black,
    displayStyle: const TextStyle(fontSize: 80, color: Colors.yellow),
    /*...*/
  ),
)
Localize
https://github.com/zuvola/flutter_simple_calculator/blob/master/example/screenshot_3.png?raw=true
SimpleCalculator(
  numberFormat: NumberFormat.decimalPattern("fa_IR")
    ..maximumFractionDigits = 6,
)

Getting Started

To use this plugin, add flutter_simple_calculator as a dependency in your pubspec.yaml file.

dependencies:
 flutter_simple_calculator: 

Import the library in your file.

import 'package:flutter_simple_calculator/flutter_simple_calculator.dart';

See the example directory for a complete sample app using SimpleCalculator. Or use the SimpleCalculator like below.

SimpleCalculator(
  value: 123.45,
  hideExpression: true,
  onChanged: (key, value, expression) {
    /*...*/
  },
  theme: const CalculatorThemeData(
    displayColor: Colors.black,
    displayStyle: const TextStyle(fontSize: 80, color: Colors.yellow),
  ),
)