Search packages, repositories and app categories

Package detailsv0.1.1

tridimensional_drawer

Tridimensional Drawer is an easy way to create a 3D Perspective drawer, where you can insert any type of widget.

30-day downloads
19
Likes
32
Pub points
40

Install package

flutter pub add tridimensional_drawer

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Tridimensional Drawer is a Flutter package that enables developers to create visually engaging 3D perspective drawers with ease. It allows the integration of any widget inside the drawer, offering flexibility in design and functionality. The package enhances navigation experiences by adding depth and interactivity through smooth 3D transformations. Ideal for modern app interfaces, it supports custom content placement and responsive behavior. Built with simplicity in mind, it requires minimal setup and integrates seamlessly into existing Flutter projects.

Use cases

  • Creating immersive navigation drawers
  • Adding visual depth to app interfaces
  • Customizing drawer content with any widget
  • Enhancing user engagement with 3D effects
  • Building modern mobile app layouts

Key features

  • 3D perspective transformation
  • Support for any widget inside drawer
  • Simple integration with Flutter
  • Smooth animation transitions
  • Customizable drawer appearance

Suitable for

  • Developers seeking interactive navigation
  • Design-focused Flutter apps
  • Apps requiring unique UI elements
  • Mobile app creators aiming for visual impact
  • Projects emphasizing user experience

Considerations

  • Limited platform specification
  • May require performance optimization on low-end devices
  • Best suited for mobile applications
  • Not ideal for complex multi-layered navigation
  • Depends on device rendering capabilities

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Tridimensional Drawer

Tridimensional Drawer is an easy way to create a 3D Perspective drawer, where you can insert any type of widget.

Version 0.1.0 Note

The version 0.1.0 solves the exception caused by the SingleTickerProviderStateMixin.

Demo

drawing

Installing

Add the package to your pubspec.yml file

dependencies:
    tridimensional_drawer: ^0.1.1

Example

Full example available in the example folder.

import 'package:flutter/material.dart';
import 'package:tridimensional_drawer/tridimensional_drawer.dart';

class Example extends StatefulWidget {
  @override
  _ExampleState createState() => _ExampleState();
}

class _ExampleState extends State<Example> {
  final TridimensionalDrawerController controller =
      TridimensionalDrawerController();

  @override
  Widget build(BuildContext context) {
    return TridimensionalDrawer(
      controller: controller,
      mainPage: GestureDetector(
        onTap: () => controller.open(),
        child: MainPage(),
      ),
      drawer: CustomDrawer(),
      backgroundPage: GestureDetector(
        onTap: () => controller.close(),
        child: Container(
          color: Colors.white,
        ),
      ),
    );
  }
}

Hint

If you use a widget containing a Scaffold as the mainPage, try to wrap the body of it inside a SingleChildScrollView, otherwise the rendering of the mainPage could go wrong at the end of the drawer opening animation.

Categories

Source repository

Projects using this package

No data available yet.