パッケージ、リポジトリ、アプリカテゴリを検索

flutter_simple_calculator のカバー
パッケージ詳細v2.7.1

flutter_simple_calculator

シンプルな電卓を提供する Flutter ウィジェット。アプリに簡単に電卓を統合できます。

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
3100
いいね数
130
Pub ポイント
160

パッケージをインストール

flutter pub add flutter_simple_calculator

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

Flutterウィジェットで、アプリに簡単に統合できるシンプルかつカスタマイズ可能な電卓を提供します。シンプルさと使いやすさを重視して設計されており、基本的な算術演算をサポートし、さまざまなUIにスムーズに埋め込むことができます。本パッケージは、モバイル、Web、デスクトップを含むすべての主要プラットフォームで互換性があり、複雑な依存関係なしに迅速な計算機能が必要なアプリケーションに最適です。

用途

  • フォームでの簡単な算術
  • 予算管理または支出トラッキングアプリ
  • 数学学習のための教育ツール
  • 生産性アプリの高速計算機能
  • ゲームやクイズ用のアプリ内電卓

主な機能

  • 最小限の設定で簡単に統合可能
  • 基本的な数学演算をサポートしています
  • クロスプラットフォーム互換性
  • カスタマイズ可能な外観
  • 軽量で高速なパフォーマンス

適している対象

  • 基本的な電卓が必要な開発者
  • 教育アプリ開発者
  • 簡単な数学的要件を持つアプリ
  • 迅速な計算機能のプロトタイピング
  • 軽量な依存関係を優先するプロジェクト

注意事項

  • 基本操作に限定
  • 三角関数のような高度な機能はなし
  • 複雑な財務計算には適していません
  • UIのカスタマイズにはいくつかのコーディングが必要です
  • 組み込みの履歴やメモリ機能なし

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

flutter_simple_calculator

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

pub package

Default style
With custom styles
SimpleCalculator(
  theme: const CalculatorThemeData(
    displayColor: Colors.black,
    displayStyle: const TextStyle(fontSize: 80, color: Colors.yellow),
    /*...*/
  ),
)
Localize
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),
  ),
)

カテゴリー

依存関係

依存関係一覧 4 件

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。