backdrop 0.1.8

  • README.md
  • CHANGELOG.md
  • Example
  • Installing
  • Versions
  • 89

backdrop

Backdrop implementation in flutter.

This widget is in active development. Wait for the stable v1.0.0. Any contribution, idea, criticism or feedback is welcomed.

Getting started

Follow the medium article to Quickly Implement Backdrop in Flutter.

Example

check out sample code in example directory

Backdrop Example Screenshot

Contribute

  1. You'll need a gitlab account. (Sorry, if you had to create one!!)
  2. Fork the repository.
  3. Implement features from to-do, fix issues, etc.
  4. Send merge request.
  5. Star this project.
  6. Become a hero!!

Features and bugs

Please file feature requests and bugs at the issue tracker.

TODO

  • Properly document the usage of the widget in README.md
  • Properly document classes and public methods
  • scaffoldKey provided to access scaffold directly
  • Write an example flutter app to demonstrate options and functionality
  • Using InheritedWIdget for storing controller in state and accessing it throughout
  • Dynamic height for backdrop - based on height of backpanel ??
  • Fixed height for backdrop - provided in argument of BackdropScaffold
  • BackdropNavigation : Using backpanel for navigation
  • BackdropTitle : Different title for backpanel and frontpanel visibility
  • BackdropAction : Action with view in backpanel
  • subheader argument (optional) in BackdropScaffol
  • BackdropToggle : widget to fling backdrop anywhere inside the scaffol
  • BackdropButton : widget that build button with BackdropToggle with default menu_close icon. Can directly be used in actions.

[0.0.1] - 21 July 2018.

  • Basic backdrop implementation.
  • BackdropScaffold widget implemented.

[0.1.0] - 28 July 2018.

  • opacity fixes in BackdropScaffold.
  • headerHeight option added in BackdropScaffold.
  • frontLayerBorderRadius option added in BackdropScaffold
  • refactor: body -> frontLayer
  • refactor: backpanel -> backLayer
  • BackdropToggleButton widget implemented.

example/lib/main.dart

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

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return new MaterialApp(
      title: 'Backdrop Demo',
      home: BackdropScaffold(
        title: Text("Backdrop Example"),
        backLayer: Center(
          child: Text("Back Layer"),
        ),
        frontLayer: Center(
          child: Text("Front Layer"),
        ),
        iconPosition: BackdropIconPosition.leading,
        actions: <Widget>[
          BackdropToggleButton(
            icon: AnimatedIcons.list_view,
          ),
        ],
      ),
    );
  }
}

Use this package as a library

1. Depend on it

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


dependencies:
  backdrop: ^0.1.8

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter packages get

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

3. Import it

Now in your Dart code, you can use:


import 'package:backdrop/backdrop.dart';
  
Version Uploaded Documentation Archive
0.1.8 Sep 24, 2018 Go to the documentation of backdrop 0.1.8 Download backdrop 0.1.8 archive
0.1.7 Sep 24, 2018 Go to the documentation of backdrop 0.1.7 Download backdrop 0.1.7 archive
0.1.6 Jul 31, 2018 Go to the documentation of backdrop 0.1.6 Download backdrop 0.1.6 archive
0.1.5 Jul 30, 2018 Go to the documentation of backdrop 0.1.5 Download backdrop 0.1.5 archive
0.1.4 Jul 30, 2018 Go to the documentation of backdrop 0.1.4 Download backdrop 0.1.4 archive
0.1.3 Jul 28, 2018 Go to the documentation of backdrop 0.1.3 Download backdrop 0.1.3 archive
0.1.2 Jul 28, 2018 Go to the documentation of backdrop 0.1.2 Download backdrop 0.1.2 archive
0.1.1 Jul 28, 2018 Go to the documentation of backdrop 0.1.1 Download backdrop 0.1.1 archive
0.1.0 Jul 28, 2018 Go to the documentation of backdrop 0.1.0 Download backdrop 0.1.0 archive
0.0.17 Jul 27, 2018 Go to the documentation of backdrop 0.0.17 Download backdrop 0.0.17 archive

All 26 versions...

Popularity:
Describes how popular the package is relative to other packages. [more]
79
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]
89
Learn more about scoring.

We analyzed this package on Oct 10, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0
  • pana: 0.12.4
  • Flutter: 0.9.5

Platforms

Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.19.0 <3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.11
meta 1.1.6
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies
flutter_test