All Projects → fluttercommunity → backdrop

fluttercommunity / backdrop

Licence: other
Backdrop implementation in flutter.

Programming Languages

dart
5743 projects
shell
77523 projects
objective c
16641 projects - #2 most used programming language
java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to backdrop

flutter todos
A cross platform todo list app using flutter, sqlite etc. If you read the code, you will understand how to create simple elegant mobile app using Flutter and Dart language.
Stars: ✭ 60 (-70.44%)
Mutual labels:  flutter-material, flutter-demo, flutter-examples, flutter-widget
Interactive-Add-Button-Layout
Custom Layout with interactive add button to impove your UI and UX .
Stars: ✭ 20 (-90.15%)
Mutual labels:  flutter-material, flutter-demo, flutter-examples, flutter-widget
flutter-UI
将Flutter各种Widget各种API📘都实现一次。喜欢请Star。
Stars: ✭ 67 (-67%)
Mutual labels:  flutter-material, flutter-demo, flutter-examples, flutter-widget
flutter sliding tutorial
User onboarding library with smooth animation of objects and background colors
Stars: ✭ 127 (-37.44%)
Mutual labels:  flutter-material, flutter-demo, flutter-examples, flutter-widget
Knockdown-Flutter
Enough exercises to knockdown the fear of Flutter in you 👊
Stars: ✭ 33 (-83.74%)
Mutual labels:  flutter-material, flutter-demo, flutter-examples, flutter-widget
Motion-Tab-Bar
A beautiful animated flutter widget package library. The tab bar will attempt to use your current theme out of the box, however you may want to theme it.
Stars: ✭ 237 (+16.75%)
Mutual labels:  widget, flutter-material, flutter-demo, flutter-widget
Best Flutter Ui Templates
completely free for everyone. Its build-in Flutter Dart.
Stars: ✭ 13,448 (+6524.63%)
Mutual labels:  flutter-material, flutter-demo, flutter-examples, flutter-widget
WhatsappClone
Flutter WhatsappClone
Stars: ✭ 29 (-85.71%)
Mutual labels:  flutter-material, flutter-demo, flutter-examples
flutter-tips
My collection of Flutter development tips
Stars: ✭ 36 (-82.27%)
Mutual labels:  flutter-demo, flutter-examples, flutter-widget
swipedetector
A Flutter package to detect up, down, left, right swipes.
Stars: ✭ 34 (-83.25%)
Mutual labels:  flutter-demo, flutter-examples, flutter-widget
flutter example
flutter code,flutter-banner,flutter-codekk,flutter-panda,flutter_tab
Stars: ✭ 94 (-53.69%)
Mutual labels:  flutter-demo, flutter-examples, flutter-widget
WhatsAppUIClone
WhatsApp UI Clone with Flutter
Stars: ✭ 66 (-67.49%)
Mutual labels:  flutter-material, flutter-demo, flutter-examples
flutter dribble login challenge
A flutter animation UI challenge.
Stars: ✭ 51 (-74.88%)
Mutual labels:  flutter-material, flutter-examples, flutter-widget
car rental lite
A platform for car sharing where users can book any car that suits their needs and wants for their intended journey, from the closest hosts in the community.
Stars: ✭ 28 (-86.21%)
Mutual labels:  flutter-demo, flutter-examples, flutter-widget
baemin-clone
Baemin app clone by Flutter
Stars: ✭ 28 (-86.21%)
Mutual labels:  flutter-material, flutter-demo, flutter-examples
E-commerce
A Flutter E-commerce by implementing the Carousel and other flutter components
Stars: ✭ 36 (-82.27%)
Mutual labels:  flutter-material, flutter-demo, flutter-examples
FlutterNote
Easy to learn Flutter(Flutter 即学即用,Flutter 速成必备)
Stars: ✭ 22 (-89.16%)
Mutual labels:  widget, flutter-demo, flutter-examples
stuff
Crud operation with Firebase
Stars: ✭ 80 (-60.59%)
Mutual labels:  flutter-demo, flutter-examples, flutter-widget
LoginAndRegistrationWithSocialMedia
Created a Project to design login screen, registration screen, login with google ,slider navigation drawer,dashboard screen login with Facebook using Flutter
Stars: ✭ 82 (-59.61%)
Mutual labels:  flutter-material, flutter-demo, flutter-examples
Mathematics
In this application, we can perform some actions like subtraction, addition, multiplication, and division. And by selecting any of these, you will receive a PDF with the answer key to your MCQ or question!
Stars: ✭ 45 (-77.83%)
Mutual labels:  flutter-material, flutter-demo, flutter-examples

Flutter Community: backdrop

backdrop

pub.dev ci Demo Awesome Flutter Gitter All Contributors pub points popularity likes GitHub issues GitHub milestone GitHub stars GitHub forks Gitlab stars Gitlab forks

Backdrop implementation in flutter.

This widget is in active development. Any contribution, idea, criticism or feedback is welcomed.

Quick links

Package https://pub.dev/packages/backdrop
API Docs https://pub.dev/documentation/backdrop/latest/backdrop/backdrop-library.html
Live Demo https://fluttercommunity.github.io/backdrop/demo/#/
Git Repo https://github.com/fluttercommunity/backdrop
Issue Tracker https://github.com/fluttercommunity/backdrop/issues
Chat Room https://gitter.im/flutter-backdrop

Usage

BackdropScaffold

Use BackdropScaffold instead of the standard Scaffold in your app. A backLayer and a frontLayer have to be defined for the backdrop to work.

BackdropScaffold(
  appBar: BackdropAppBar(
    title: Text("Backdrop Example"),
    actions: <Widget>[
      BackdropToggleButton(
        icon: AnimatedIcons.list_view,
      )
    ],
  ),
  backLayer: Center(
    child: Text("Back Layer"),
  ),
  frontLayer: Center(
    child: Text("Front Layer"),
  ),
)
BackdropScaffold example

Navigation with backdrop

To use backdrop for navigation, use the provided BackdropNavigationBackLayer as backLayer.

The BackdropNavigationBackLayer contains a property items representing the list elements shown on the back layer. The front layer has to be "manually" set depending on the current index, which can be accessed with the onTap callback.

int _currentIndex = 0;
final List<Widget> _pages = [Widget1(), Widget2()];

@override
Widget build(BuildContext context) {
  return MaterialApp(
    title: 'Backdrop Demo',
    home: BackdropScaffold(
      appBar: BackdropAppBar(
        title: Text("Navigation Example"),
        actions: <Widget>[
          BackdropToggleButton(
            icon: AnimatedIcons.list_view,
          )
        ],
      ),
      stickyFrontLayer: true,
      frontLayer: _pages[_currentIndex],
      backLayer: BackdropNavigationBackLayer(
        items: [
          ListTile(title: Text("Widget 1")),
          ListTile(title: Text("Widget 2")),
        ],
        onTap: (int position) => {setState(() => _currentIndex = position)},
      ),
    ),
  );
}
BackdropNavigationScaffold example

Accessing underlying backdrop functionalities

To access backdrop related functionalities, use Backdrop.of(context) to get underlying BackdropScaffoldState.

BackdropScaffoldState exposes various properties and methods like:

  • properties
    • animationController -> AnimationController
    • scaffoldKey -> GlobalKey<ScaffoldState>
    • isBackLayerConcealed -> bool
    • isBackLayerRevealed -> bool
  • methods
    • fling()
    • concealBackLayer()
    • revealBackLayer()

Note: Backdrop is an InheritedWidget and therefore like Scaffold.of, Theme.of and MediaQuery.of, the BuildContext context passed to Backdrop.of(context) should be of a Widget that is under the BackdropScaffold in the "widget tree". In other words, Backdrop.of called inside a widget where the BackdropScaffold is initalized will not work explicitly, since the context passed is of the widget that will build BackdropScaffold therefore above BackdropScaffold. This can be solved by either making a seperate Widget where Backdrop.of needs to be used and make it the "child" of BackdropScaffold or wrap the Backdrop.of usage around Builder widget so that the "correct" context (from Builder) is passed to Backdrop.of. This answere on SO and FWotW video on Builder gives a very good idea of how and why Builder works in later case.

For more information, check out sample code in the example directory, demo app with use-cases and code for it and API references generated by pub.dev.

Contribute

Check proposal documents for v1.0 and web&desktop milestones before you begin with any contibution.

  1. You'll need a GitHub account.
  2. Fork the repository.
  3. Pick an issue to work on from issue tracker.
  4. Implement it.
  5. Send merge request.
  6. Star this project.
  7. Become a hero!!

Features and bugs

Please file feature requests and bugs at the issue tracker.

Contributors

Thanks goes to these wonderful people (emoji key):


Harsh Bhikadia

💻 🤔 👀 📖 🚇 🚧

Felix

💻 📖 🐛 👀 💡 🚇 🚧

Bringmos

🐛

Greg Spencer

🐛

Jorge A Peroza M

🐛 💻

Matt Newell

🐛

Daniel Borges

🐛 💻

Felix Wortmann

💻 👀 🐛

Pierre Grimaud

📖

Вадим

💻

Danial Agh

🐛

PembaTamang

🐛

hassan

🐛

Yaroslav Pronin

🐛 💻 👀

Enikuomehin Adejuwon

💻

Nwachi ifeanyichukwu Victor

💻

mockturtl

💻 📖

ritar

🐛

LorenzoVianello

🐛

Scott

💻

Sachin Dahal

📖

Jan Hendrych

🐛

Pascal Wild

🐛

This project follows the all-contributors specification. Contributions of any kind welcome!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].