custom_navigation_drawer 0.0.1 copy "custom_navigation_drawer: ^0.0.1" to clipboard
custom_navigation_drawer: ^0.0.1 copied to clipboard

Custom Navigation Drawer is like Navigation Drawer with an addition of partially closed state.

example/main.dart

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

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Custom Navigation Drawer Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      debugShowCheckedModeBanner: false,
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        elevation: 0.0,
        backgroundColor: drawerBackgroundColor,
        title: Text("Collapsing Navigation Drawer/Sidebar",),
      ),
      //drawer: CollapsingNavigationDrawer(),
      body: Stack(
        children: <Widget>[
          Container(color: selectedColor,),
          CollapsingNavigationDrawer()
        ],
      )
    );
  }
}
11
likes
30
pub points
47%
popularity

Publisher

unverified uploader

Custom Navigation Drawer is like Navigation Drawer with an addition of partially closed state.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on custom_navigation_drawer