backdrop 0.9.1 copy "backdrop: ^0.9.1" to clipboard
backdrop: ^0.9.1 copied to clipboard

Backdrop implementation in dart. (https://material.io/design/components/backdrop.html)

example/lib/main.dart

/*
*
* Check live demo with various use-cases and its code on https://fluttercommunity.github.io/backdrop/demo/#/
*
* */

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

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

/// Example app for demoing [BackdropScaffold]
class MyApp extends StatelessWidget {
  /// Default constructor for [MyApp].
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Backdrop Demo',
      home: BackdropScaffold(
        appBar: BackdropAppBar(
          title: const Text("Backdrop Example"),
          actions: const <Widget>[
            BackdropToggleButton(
              icon: AnimatedIcons.list_view,
            )
          ],
        ),
        backLayer: const Center(
          child: Text("Back Layer"),
        ),
        subHeader: const BackdropSubHeader(
          title: Text("Sub Header"),
        ),
        frontLayer: const Center(
          child: Text("Front Layer"),
        ),
      ),
    );
  }
}
575
likes
150
points
2.75k
downloads

Publisher

verified publisherfluttercommunity.dev

Weekly Downloads

Backdrop implementation in dart. (https://material.io/design/components/backdrop.html)

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on backdrop