fab_menu_items 1.0.0

  • Readme
  • Changelog
  • Example
  • Installing
  • 71

fab_menu_items #

This is Fluter Fab Menu Items........

Pub

fab_menu_items #


This is Fluter Fab Menu Items........

Example code #


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


class Mainapp extends StatefulWidget {
  @override
  _MainappState createState() => _MainappState();
}

class _MainappState extends State<Mainapp> {
  @override
  Widget build(BuildContext context) {
    return Stack(
      children: <Widget>[
        Scaffold(
          body: Container(
            child: Center(
              child: Text('Fab Menu Items'),
            ),
          ),
        ),
        Fabmenuitems(
          height: 310,
          weith: 150,
          animatedIcons: AnimatedIcons.menu_close,
          fabcolor: Colors.black,
          containercolor: Colors.white,
          childrens: <Widget>[
            Container(
              padding: EdgeInsets.only(left: 10,right: 10,top: 10,bottom: 2),
              alignment: Alignment.centerLeft,
              child: Row(
                children: <Widget>[
                  Icon(Icons.bubble_chart,size: 24,color: Colors.indigo,),
                  SizedBox(width: 10,),
                  Expanded(child: Text("Dummy two",style: TextStyle(
                      color: Colors.black54,fontSize: 14,fontWeight: FontWeight.w500
                  ),))
                ],
              ),
            ),
            Divider(),

            Container(
              padding: EdgeInsets.only(left: 10,right: 10,top: 2,bottom: 2),
              alignment: Alignment.centerLeft,
              child: Row(
                children: <Widget>[
                  Icon(Icons.bubble_chart,size: 24,color: Colors.indigo,),
                  SizedBox(width: 10,),
                  Expanded(child: Text("Dummy two",style: TextStyle(
                      color: Colors.black54,fontSize: 14,fontWeight: FontWeight.w500
                  ),))
                ],
              ),
            ),
            Divider(),

            Container(
              padding: EdgeInsets.only(left: 10,right: 10,top: 2,bottom: 2),
              alignment: Alignment.centerLeft,
              child: Row(
                children: <Widget>[
                  Icon(Icons.bubble_chart,size: 24,color: Colors.indigo,),
                  SizedBox(width: 10,),
                  Expanded(child: Text("Dummy two",style: TextStyle(
                      color: Colors.black54,fontSize: 14,fontWeight: FontWeight.w500
                  ),))
                ],
              ),
            ),
            Divider(),

            Container(
              padding: EdgeInsets.only(left: 10,right: 10,top: 2,bottom: 2),
              alignment: Alignment.centerLeft,
              child: Row(
                children: <Widget>[
                  Icon(Icons.bubble_chart,size: 24,color: Colors.indigo,),
                  SizedBox(width: 10,),
                  Expanded(child: Text("Dummy two",style: TextStyle(
                      color: Colors.black54,fontSize: 14,fontWeight: FontWeight.w500
                  ),))
                ],
              ),
            ),
            Divider(),

            Container(
              padding: EdgeInsets.only(left: 10,right: 10,top: 2,bottom: 2),
              alignment: Alignment.centerLeft,
              child: Row(
                children: <Widget>[
                  Icon(Icons.bubble_chart,size: 24,color: Colors.indigo,),
                  SizedBox(width: 10,),
                  Expanded(child: Text("Dummy two",style: TextStyle(
                      color: Colors.black54,fontSize: 14,fontWeight: FontWeight.w500
                  ),))
                ],
              ),
            ),
            Divider(),

            Container(
              padding: EdgeInsets.only(left: 10,right: 10,top: 2,bottom: 2),
              alignment: Alignment.centerLeft,
              child: Row(
                children: <Widget>[
                  Icon(Icons.bubble_chart,size: 24,color: Colors.indigo,),
                  SizedBox(width: 10,),
                  Expanded(child: Text("Dummy two",style: TextStyle(
                      color: Colors.black54,fontSize: 14,fontWeight: FontWeight.w500
                  ),))
                ],
              ),
            ),
            Divider(),

            Container(
              padding: EdgeInsets.only(left: 10,right: 10,top: 2,bottom: 2),
              alignment: Alignment.centerLeft,
              child: Row(
                children: <Widget>[
                  Icon(Icons.bubble_chart,size: 24,color: Colors.indigo,),
                  SizedBox(width: 10,),
                  Expanded(child: Text("Dummy two",style: TextStyle(
                      color: Colors.black54,fontSize: 14,fontWeight: FontWeight.w500
                  ),))
                ],
              ),
            ),
            Divider(),

            Container(
              padding: EdgeInsets.only(left: 10,right: 10,top: 2,bottom: 2),
              alignment: Alignment.centerLeft,
              child: Row(
                children: <Widget>[
                  Icon(Icons.bubble_chart,size: 24,color: Colors.indigo,),
                  SizedBox(width: 10,),
                  Expanded(child: Text("Dummy two",style: TextStyle(
                      color: Colors.black54,fontSize: 14,fontWeight: FontWeight.w500
                  ),))
                ],
              ),
            ),
            Divider(),




          ],
        )

      ],
    );
  }
}


Demo #

[1.0.0] - Date

  • Work on the way.....

example/lib/main.dart

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


class Mainapp extends StatefulWidget {
  @override
  _MainappState createState() => _MainappState();
}

class _MainappState extends State<Mainapp> {
  @override
  Widget build(BuildContext context) {
    return Stack(
      children: <Widget>[
        Scaffold(
          body: Container(
            child: Center(
              child: Text('Fab Menu Items'),
            ),
          ),
        ),
        Fabmenuitems(
          height: 310,
          weith: 150,
          animatedIcons: AnimatedIcons.menu_close,
          fabcolor: Colors.black,
          containercolor: Colors.white,
          childrens: <Widget>[
            Container(
              padding: EdgeInsets.only(left: 10,right: 10,top: 10,bottom: 2),
              alignment: Alignment.centerLeft,
              child: Row(
                children: <Widget>[
                  Icon(Icons.bubble_chart,size: 24,color: Colors.indigo,),
                  SizedBox(width: 10,),
                  Expanded(child: Text("Dummy two",style: TextStyle(
                      color: Colors.black54,fontSize: 14,fontWeight: FontWeight.w500
                  ),))
                ],
              ),
            ),
            Divider(),

            Container(
              padding: EdgeInsets.only(left: 10,right: 10,top: 2,bottom: 2),
              alignment: Alignment.centerLeft,
              child: Row(
                children: <Widget>[
                  Icon(Icons.bubble_chart,size: 24,color: Colors.indigo,),
                  SizedBox(width: 10,),
                  Expanded(child: Text("Dummy two",style: TextStyle(
                      color: Colors.black54,fontSize: 14,fontWeight: FontWeight.w500
                  ),))
                ],
              ),
            ),
            Divider(),

            Container(
              padding: EdgeInsets.only(left: 10,right: 10,top: 2,bottom: 2),
              alignment: Alignment.centerLeft,
              child: Row(
                children: <Widget>[
                  Icon(Icons.bubble_chart,size: 24,color: Colors.indigo,),
                  SizedBox(width: 10,),
                  Expanded(child: Text("Dummy two",style: TextStyle(
                      color: Colors.black54,fontSize: 14,fontWeight: FontWeight.w500
                  ),))
                ],
              ),
            ),
            Divider(),

            Container(
              padding: EdgeInsets.only(left: 10,right: 10,top: 2,bottom: 2),
              alignment: Alignment.centerLeft,
              child: Row(
                children: <Widget>[
                  Icon(Icons.bubble_chart,size: 24,color: Colors.indigo,),
                  SizedBox(width: 10,),
                  Expanded(child: Text("Dummy two",style: TextStyle(
                      color: Colors.black54,fontSize: 14,fontWeight: FontWeight.w500
                  ),))
                ],
              ),
            ),
            Divider(),

            Container(
              padding: EdgeInsets.only(left: 10,right: 10,top: 2,bottom: 2),
              alignment: Alignment.centerLeft,
              child: Row(
                children: <Widget>[
                  Icon(Icons.bubble_chart,size: 24,color: Colors.indigo,),
                  SizedBox(width: 10,),
                  Expanded(child: Text("Dummy two",style: TextStyle(
                      color: Colors.black54,fontSize: 14,fontWeight: FontWeight.w500
                  ),))
                ],
              ),
            ),
            Divider(),

            Container(
              padding: EdgeInsets.only(left: 10,right: 10,top: 2,bottom: 2),
              alignment: Alignment.centerLeft,
              child: Row(
                children: <Widget>[
                  Icon(Icons.bubble_chart,size: 24,color: Colors.indigo,),
                  SizedBox(width: 10,),
                  Expanded(child: Text("Dummy two",style: TextStyle(
                      color: Colors.black54,fontSize: 14,fontWeight: FontWeight.w500
                  ),))
                ],
              ),
            ),
            Divider(),

            Container(
              padding: EdgeInsets.only(left: 10,right: 10,top: 2,bottom: 2),
              alignment: Alignment.centerLeft,
              child: Row(
                children: <Widget>[
                  Icon(Icons.bubble_chart,size: 24,color: Colors.indigo,),
                  SizedBox(width: 10,),
                  Expanded(child: Text("Dummy two",style: TextStyle(
                      color: Colors.black54,fontSize: 14,fontWeight: FontWeight.w500
                  ),))
                ],
              ),
            ),
            Divider(),

            Container(
              padding: EdgeInsets.only(left: 10,right: 10,top: 2,bottom: 2),
              alignment: Alignment.centerLeft,
              child: Row(
                children: <Widget>[
                  Icon(Icons.bubble_chart,size: 24,color: Colors.indigo,),
                  SizedBox(width: 10,),
                  Expanded(child: Text("Dummy two",style: TextStyle(
                      color: Colors.black54,fontSize: 14,fontWeight: FontWeight.w500
                  ),))
                ],
              ),
            ),
            Divider(),




          ],
        )

      ],
    );
  }
}

Use this package as a library

1. Depend on it

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


dependencies:
  fab_menu_items: ^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:fab_menu_items/fab_menu_items.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
43
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
71
Learn more about scoring.

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

  • Dart: 2.7.0
  • pana: 0.13.4
  • Flutter: 1.12.13+hotfix.5

Health suggestions

Fix lib/fab_menu_items.dart. (-0.50 points)

Analysis of lib/fab_menu_items.dart reported 1 hint:

line 7 col 7: This class (or a class which this class inherits from) is marked as '@immutable', but one or more of its instance fields are not final: Fabmenuitems.childrens

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
flutter 0.0.0
flutter_sequence_animation ^3.0.1 3.0.1
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
flutter_test