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

arc_sidebar のカバー
パッケージ詳細v0.0.4

arc_sidebar

Flutter pps のサイドバー/ドロワー

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
60
いいね数
14
Pub ポイント
145

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

flutter pub add arc_sidebar

パッケージ概要

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

ArcSidebar は、Flutter アプリケーション向けに設計されたカスタマイズ可能なサイドバーまたはドロワー コンポーネントで、モダンなアーキュレートデザインによりナビゲーションを強化しています。Android、iOS、Web、macOS、Windows、Linux など、複数のプラットフォームをサポートしています。パッケージにはスムーズなアニメーション、レスポンシブレイアウト、および簡単な pub add コマンドによる統合が含まれています。直感的なナビゲーションと特徴的なビジュアルスタイルが必要なアプリに最適です。開発者はスタイルや動作の柔軟性を確保できます。パフォーマンスと使いやすさを意識して構築されており、さまざまなデバイスタイプでエレガントなサイドナビゲーションを実装する手間を軽減します。

用途

  • モバイルおよびデスクトップアプリのナビゲーション
  • Web アプリケーションのサイドバー
  • カスタマイズ可能なドロワーインターフェース
  • クロスプラットフォームUIの一貫性
  • アーキテクチャデザインによるユーザー体験の向上

主な機能

  • アーチ型デザイン
  • クロスプラットフォーム対応
  • スムーズなアニメーション
  • カスタマイズ可能な外観
  • レスポンシブレイアウト
  • pubを介した簡単な統合

適している対象

  • 独自の引き出しデザインを探している開発者
  • 複数プラットフォーム間で一貫したナビゲーションが必要なアプリ
  • 現代的なUI美学に重点を置くプロジェクト
  • 迅速なUI開発を重視するチーム
  • デザインに焦点を当てたFlutterアプリケーション

注意事項

  • 複雑なレイアウトには追加のスタイル設定が必要になる場合があります
  • 基本的な使用法を超えるドキュメントは限られている
  • 大量のコンテンツによるパフォーマンスへの潜在的な影響
  • ミニマリスティックなデザインには向いていない
  • 完全な機能を実現するには、外部の依存関係に依存します

元の README

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

arc_sidebar

by: Eliezer António

Imagem 1 Gif Exemplo

Installation

Add arc_sidebar: ^0.0.4 to your pubspec.yaml dependencies. And import it:

import 'package:arc_sidebar/arc_sidebar.dart';

How to use

 ArcSideBar(
            body: [
              SideBarItem(
                icon: Icons.play_arrow_outlined,
                title: 'Exhibition Screen',
                onTap: (){

                },
              ),
              SideBarItem(
                title: 'Popular Screen',
                icon: Icons.movie_outlined,
               onTap: (){
                  
                },
              ),
              SideBarItem(
                title: 'Briefly Screen',
                icon: Icons.card_giftcard,
               onTap: (){
                  
                },
              ),
            ],
      
          );
All SliderItem parameters

  Key? key,
  IconData? icon,
  TextStyle? style,
  Color? iconColor,
  String title,
  void Function()? onTap,
  

General Example

Preview


class Home extends StatefulWidget {
  const Home({super.key});

  @override
  State<Home> createState() => _HomeState();
}

class _HomeState extends State<Home> {
  int _currentIndex = 0;
  final List<Widget> _currentScreen = [
    Container(color: Colors.red, width: 500, height: 1000),
    Container(color: Colors.purpleAccent, width: 500, height: 1000),
    Container(color: Colors.orange, width: 500, height: 1000),
    Container(color: Colors.greenAccent, width: 500, height: 1000),
  ];
  void onIconPressed(int index) async {
       if (_currentIndex == index) return; //* Prevent reconstruction of the current screen 
    setState(() {
      _currentIndex = index;
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Stack(
        children: [
          _currentScreen[_currentIndex],
          ArcSideBar(
            background: Colors.white,
            header: Center(
              child: Column(
                mainAxisAlignment: MainAxisAlignment.center,
                crossAxisAlignment: CrossAxisAlignment.center,
                children: [
                  SizedBox(height: 50),
                  Icon(
                    Icons.flutter_dash,
                    size: 100,
                    color: Colors.blueAccent,
                  ),
                ],
              ),
            ),
            body: [
              SideBarItem(
                icon: Icons.play_arrow_outlined,
                title: 'Exhibition Screen',
                onTap: () => onIconPressed(0),
              ),
              SideBarItem(
                title: 'Popular Screen',
                icon: Icons.movie_outlined,
                onTap: () => onIconPressed(1),
              ),
              SideBarItem(
                title: 'Briefly Screen',
                icon: Icons.card_giftcard,
                onTap: () => onIconPressed(2),
              ),
            ],
            footer: Column(
              children: [
                ListTile(
                  title: Text("Dark Mode", style: TextStyle(fontWeight: FontWeight.w300, fontSize: 17)),
                  leading: Icon(Icons.lightbulb_outline, size: 30),
                  trailing: Switch.adaptive(
                    value: false,
                    onChanged: (value) {},
                  ),
                ),
              ],
            ),
          ),
        ],
      ),
    );
  }
}


🤝 Contributing to ArcSideBar
  1. Fork the Repository: Create your copy.

  2. Create a Branch:

    git checkout -b my-feature-branch
    
  3. Make Changes: Implement your feature or fix.

  4. Commit Changes:

    git commit -m "Add a new feature"
    
  5. Push to Your Fork:

    git push origin my-feature-branch
    
  6. Create a Pull Request: Submit your changes for review.

カテゴリー

依存関係

依存関係一覧 1 件

ソースリポジトリ

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

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