side_menu_scaffold 1.0.0

  • Readme
  • Changelog
  • Example
  • Installing
  • 71

Side Menu Like Iphone in Flutter #

Flutter plugin allow you to implement side menu like iPhone default side menu.

Preview Screen #

Getting Started #

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

1.0.0 #

  • Initial release


import 'package:flutter/material.dart';
import 'package:side_menu_scaffold/side_menu_scaffold.dart';
import 'package:side_menu_scaffold_example/drawer_menu.dart';
import 'package:provider/provider.dart';

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

class MyApp extends StatelessWidget {
  Widget build(BuildContext context) {
    return new MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'Side Menu',
      theme: new ThemeData(
      home: new MyHomePage(),

class MyHomePage extends StatefulWidget {
  _MyHomePageState createState() => new _MyHomePageState();

class _MyHomePageState extends State<MyHomePage> with TickerProviderStateMixin {
  SideMenuController menuController;

  void initState() {

    menuController = new SideMenuController(
      vsync: this,
    )..addListener(() => setState(() {}));

  void dispose() {

  Widget build(BuildContext context) {
    return ChangeNotifierProvider(
      builder: (context) => menuController,
      child: SideMenuScaffold(
        menu: DrawerMenu(),
        title: new Text(
          "Side Menu",
          style: TextStyle(fontSize: 20, color: Colors.black87),
        actions: <Widget>[
        body: Container(
          margin: EdgeInsets.only(top: 88),
          decoration: BoxDecoration(
              borderRadius: BorderRadius.only(topLeft: Radius.circular(125)),
              shape: BoxShape.rectangle,
              color: Colors.lightBlue,
              boxShadow: [
                  blurRadius: 100,
                  color: Colors.black45,
          child: new Center(
            child: Text(
              "Teja Droid",
              style: TextStyle(fontSize: 44, color: Colors.white),

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  side_menu_scaffold: ^1.0.0

2. Install it

You can install packages from the command line:

with Flutter:

$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:side_menu_scaffold/side_menu_scaffold.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Mar 31, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.1
  • pana: 0.13.6
  • Flutter: 1.12.13+hotfix.8

Health suggestions

Format lib/side_menu_scaffold.dart.

Run flutter format to format lib/side_menu_scaffold.dart.

Maintenance issues and suggestions

Support latest dependencies. (-10 points)

The version constraint in pubspec.yaml does not support the latest published versions for 1 dependency (provider).


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
flutter 0.0.0
provider ^2.0.0 2.0.1+1 4.0.4
Transitive dependencies
collection 1.14.11 1.14.12
meta 1.1.8
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies