Skip to content

Flutter base is a library consisting of Flutter web compatible components. Easy to use and responsive.

License

Notifications You must be signed in to change notification settings

tanmoy27112000/flutter_web_base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flutter_web_base

Design beautiful responsive websites using Flutter 💙

Made with responsiveness and usability in mind with Flutter 💙


flutter_web_base demo gif

Content

Motivation

Since Flutter has added support to WEB. I have been building websites but didn't find any proper package that gives us the capability to easily create websites like other frameworks such as Nativebase or bootstrap. So keeping in mind the design of bootstrap. I created the responsive design elements in Flutter so that we can easily create responsive websites without having to write much of the code for most used designs.

See also:

Installation

Add the package to your dependencies:

dependencies:
  flutter_web_base: ^0.0.5

OR

dependencies:
  flutter_web_base:
    git: https://github.com/tanmoy27112000/flutter_web_base.git

You can see the example app here

Finally, run dart pub get to download the package.

Projects using this library should use the stable channel of Flutter

Badge

Are you using this library on your app? You can use a badge to tell others:

Add the following code to your README.md or to your website:

<a title="Made with flutter_web_base" href="https://github.com/tanmoy27112000/flutter_web_base.git">
  <img
    src="https://img.shields.io/badge/made%20with-flutter_web_base-blue"
  >
</a>

How to use

First you need to import the flutter_web_base library

import 'package:flutter_web_base/flutter_web_base.dart';

Now you get access to all the widgets in flutter_web_base library.

  • Nav bar example
NavBar1(
    title: const Text("flutter_web_base"),
    logo: const FlutterLogo(
        size: 40,
    ),
    navBarActions: [
        TextButton(
        onPressed: () {},
        child: const Text("Home"),
        ),
        TextButton(
        onPressed: () {},
        child: const Text("Features"),
        ),
        TextButton(
        onPressed: () {},
        child: const Text("Pricing"),
        ),
        TextButton(
        onPressed: () {},
        child: const Text("FAQs"),
        ),
        TextButton(
        onPressed: () {},
        child: const Text("About"),
        ),
    ],
    ),

Widgets

flutter_web_base currently has two types of widget categories:

  • Nav bar widget
    • NavBar1
    • NavBar2
    • NavBar3
navbar
  • Heroes
    • Heroes1
    • Heroes2
    • Heroes3
heroes
  • Features
    • Feature1
    • Feature2
heroes
  • Button
    • Button1
    • Button2
heroes
  • Tag
    • BorderTag
    • BorderIconTag
    • NoBorderTag
    • NoBorderIconTag
heroes
  • Achivement Widget
    • AchievementBanner1
    • AchievementBanner2
heroes
  • Footer Widget
    • Footer1
    • Footer2
heroes

If a widget type is not supported, You can add support for new widget type or use the inbuild widget types.

Contribution

Feel free to file an issue if you find a problem or make pull requests.

All contributions are welcome :)

About

Flutter base is a library consisting of Flutter web compatible components. Easy to use and responsive.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •