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

day_night_themed_switcher のカバー
パッケージ詳細v2.0.2

day_night_themed_switcher

純粋なDartで作られた洗練された日/夜切り替えウィジェットで、アプリの魅力を引き上げましょう。明るいモードと暗いモードを切り替えるのは、魔法のように簡単であるべきです!

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

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

flutter pub add day_night_themed_switcher

パッケージ概要

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

Flutterアプリで日間モードと夜間モードを簡単に切り替えるための洗練された、純粋なDartウィジェットです。最小限のセットアップでスムーズな明るさ/暗いモード切り替えを可能にし、ユーザー体験を向上させます。主要プラットフォーム全体でのダイナミックテーマ対応を求める開発者向けに、クリーンでカスタマイズ可能なソリューションとして設計されています。既存UIへのシームレスな統合と、直感的な視覚フィードバックによるアクセシビリティの促進を実現しています。

用途

  • モバイルアプリでのダークモードの実装
  • ユーザーの明るさ/暗さテーマ設定を有効にする
  • テーマ認識機能を備えたアクセシブルなUIの作成
  • Web およびデスクトップでのクロスプラットフォームテーマのサポート
  • アプリ全体のテーマ変更用のトグルを追加

主な機能

  • 純粋なDart実装
  • クロスプラットフォーム互換性
  • 最小限のボイラープレート設定
  • カスタマイズ可能な外観
  • スムーズなテーマのトランジション効果
  • ThemeData との簡単な統合

適している対象

  • テーマの好みを持つアプリを構築するFlutter開発者
  • Webおよびデスクトップを含む複数のプラットフォーム向けアプリ
  • 洗練されたテーマ切り替えを希望するデザイナー
  • ユーザー体験とアクセシビリティに重点を置くプロジェクト

注意事項

  • テーマの永続性を手動で処理する必要があります
  • システムテーマ検出のための追加ロジックが必要になる可能性があります
  • 基本的な日/夜テーマ切り替えに限定
  • デバイスのシステム設定と自動同期されません
  • カスタムスタイルには追加のコードが必要になる場合があります

元の README

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

Day and Night Themed Switcher

Demo

🎩✨ Behold, the marvel of simplicity meets elegance: the day_night_themed_switcher crafted purely in Dart! 🌗 With this widget, you can seamlessly toggle between the luminous radiance of daytime and the captivating allure of nighttime, right at your fingertips.

This nifty little creation not only adds functionality but also sprinkles a touch of charm to your app interface. Let your users revel in the joy of effortlessly transitioning between light and dark modes with just a tap.

So, why settle for mundane when you can dazzle your users with the magic of day and night? Add this widget to your arsenal and watch as your app shines bright like a diamond, day or night! ✨🌞🌙

Show some ❤️ and ⭐️ the Repo

Resources:

How to Use?

Utilizing this Plugin is as smooth as a gentle breeze. Tailor your experience effortlessly with customizable parameters such as duration, initiallyDark, and size, allowing you to craft the perfect appearance and behavior to suit your needs. 🛠️💫

DayNightSwitch(
  // duration: Duration(milliseconds: 800),
  // initiallyDark: true,
  size: 20,onChange: (dark) => setState(() {
    if (dark) {
      theme = ThemeMode.dark;
    } else {
      theme = ThemeMode.light;
    }
  }),
);

Contributions

カテゴリー

依存関係

依存関係一覧 2 件

ソースリポジトリ

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

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