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 :)

Libraries

achievement_banner/achievement_banner_1/achievement_banner_1
achievement_banner/achievement_banner_1/achievement_banner_1_mobile
achievement_banner/achievement_banner_1/achievement_banner_1_tablet
achievement_banner/achievement_banner_1/achievement_banner_1_web
achievement_banner/achievement_banner_2/achievement_banner_2
achievement_banner/achievement_banner_2/achievement_banner_2_mobile
achievement_banner/achievement_banner_2/achievement_banner_2_tablet
achievement_banner/achievement_banner_2/achievement_banner_2_web
achievement_banner/model/achievement_model
button/button_1/button_1
button/button_1/button_1_alt
button/button_1/button_1_neg
button/button_1/button_1_round
button/button_2/button_2
button/button_2/button_2_alt
button/button_2/button_2_neg
button/button_2/button_2_round
feature/feature_1/feature_1
feature/feature_1/feature_1_mobile
feature/feature_1/feature_1_tab
feature/feature_1/feature_1_web
feature/feature_1/feature_item
feature/feature_2/feature_2
feature/feature_2/feature_2_mobile
feature/feature_2/feature_2_tab
feature/feature_2/feature_2_web
feature/feature_2/feature_item_2
flutter_web_base
heroes/heroe_1/heroe_1
heroes/heroe_1/heroe_1_mobile
heroes/heroe_1/heroe_1_tab
heroes/heroe_1/heroe_1_web
heroes/heroe_2/heroe_2
heroes/heroe_2/heroe_2_mobile
heroes/heroe_2/heroe_2_tab
heroes/heroe_2/heroe_2_web
heroes/heroe_3/heroe_3
heroes/heroe_3/heroe_3_mobile
heroes/heroe_3/heroe_3_tab
heroes/heroe_3/heroe_3_web
tags/border_tag/border_tag
tags/border_tag/border_tag_with_icon
tags/non_border_tag/no_border_tag
tags/non_border_tag/no_border_tag_with_icon
tags/utils/tag_utils
utils/enum