flutter_side_menu 0.0.5 copy "flutter_side_menu: ^0.0.5" to clipboard
flutter_side_menu: ^0.0.5 copied to clipboard

outdated

Flutter's full customizable side menu has been used as a directory for Related Pages, Navigation Items, and more.

Flutter Side Menu

logo
GitHub Pub Version GitHub repo size
Caution: This project is still under development.

Usage #

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

Example #

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

void main() => runApp(
      MaterialApp(
        home: Material(
          child: Scaffold(
            body: Row(
              children: [
                SideMenu(
                  builder: (data) => SideMenuBodyData(
                    header: const Text('Header'),
                    items: [
                      SideMenuItemData(
                        isSelected: true,
                        onTap: () {},
                        title: 'Item 1',
                        icon: Icons.home,
                      ),
                    ],
                    footer: const Text('Footer'),
                  ),
                ),
                Expanded(
                  child: Container(
                    color: Colors.white,
                    child: const Center(
                      child: Text(
                        'body',
                      ),
                    ),
                  ),
                ),
                SideMenu(
                  position: SideMenuPosition.right,
                  builder: (data) => const SideMenuBodyData(
                    customChild: Text('Custom view'),
                  ),
                ),
              ],
            ),
          ),
        ),
      ),
    );
127
likes
0
pub points
93%
popularity

Publisher

unverified uploader

Flutter's full customizable side menu has been used as a directory for Related Pages, Navigation Items, and more.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

auto_size_text, badges, flutter, simple_animations

More

Packages that depend on flutter_side_menu