0 purchases
curved close drawer
Curved Closed Drawer #
A Curved Drawer Library for Easy and Quick Usage.
Checkout the Original Author : ![GitHub followers])
The source code is 100% Dart, and everything resides in the /lib folder.
Show some ❤️ and star the repo to support the project #
GIF #
💻 Installation #
In the dependencies: section of your pubspec.yaml, add the following line:
curved_close_drawer: <latest_version>
copied to clipboard
❔ Usage #
Import this class #
import 'package:curved_close_drawer/curved_drawer.dart';
copied to clipboard
Use Curved Closed Drawer #
@override
Widget build(BuildContext context) {
return Scaffold(
/// adding curvedDrawer to Scaffold drawer
drawer: CurvedDrawer(
color: Colors.blue,
width: 300,
/// build your Drawer Widget
child: buildDrawerWidget(),
),
appBar: AppBar(
title: Text('Home Page '),
),
body: Center(
child: buildLogo(),
),
);
}
copied to clipboard
🎨 Customization and Attributes #
Curved Closed Drawer attributes
Attribute Name
Example Value
Description
child
DrawerWidget()
Drawer Body Widget
drawer
DrawerWidget()
Drawer Body Widget
color
Colors.blue
drawer style color the default value is Colors.blue
width
350.0
drawer width value the default value is 300.0
Contributors ✨ #
Thanks goes to these wonderful people (emoji key):
Ahmed Eslayed💻
📃 License #
Copyright (c) 2012 Pharous
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
copied to clipboard
Getting Started #
For help getting started with Flutter, view our online documentation.
For help on editing package code, view the documentation.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.