GitXplorerGitXplorer
s

dialog_switcher

public
1 stars
0 forks
0 issues

Commits

List of commits on branch main.
Unverified
370e45e72eb915f78966fc7ef8d93e1b4632cb0f

- updated version

ssarcastic-verma committed 4 years ago
Unverified
27b04e8191d7ad698163e77de6bf4189409b5b68

- removed test file

ssarcastic-verma committed 4 years ago
Unverified
b2a9e955317289ae774ecb209cd126d3a9f2c03a

- fixed mutable state issue

ssarcastic-verma committed 4 years ago
Unverified
598335e53f42a55e745f724338ea6fb14a9ef3f1

- Update README.md

ssarcastic-verma committed 4 years ago
Verified
e9fe872d204ff83ea4963ed4cf8ba23431fd0b8d

Update README.md

ssarcastic-verma committed 4 years ago
Unverified
1024857a9568f7597565444bbd9534407f2937ec

- Fix UniqueKey Issue

ssarcastic-verma committed 4 years ago

README

The README file for this repository.

DialogSwitcher For Flutter

pub package likes popularity pub points

Allows user to switch widgets gracefully within a dialog with Animation.

Sample

Usage

To use this plugin, add dialog_switcher as a dependency in your pubspec.yaml file.

  dependencies:
    flutter:
      sdk: flutter
    dialog_switcher:

Sample Usage

import 'package:flutter/material.dart';
import 'package:transition_switcher/dialog_switcher.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'DialogSwitcher',
      debugShowCheckedModeBanner: false,
      home: SafeArea(
        child: Scaffold(
          body: Container(
            child: Column(
              mainAxisAlignment: MainAxisAlignment.center,
              children: [
                Text(
                  "Sample Usage",
                  style: TextStyle(fontSize: 20),
                ),
                DialogSwitcher(
                  dialogBackgroundColor: Colors.transparent,
                  dialogElevation: 0,
                  frontChild: Container(
                    width: 300,
                    height: 300,
                    color: Colors.amber,
                  ),
                  backChild: Container(
                    width: 300,
                    height: 300,
                    color: Colors.pinkAccent,
                  ),
                ),
              ],
            ),
          ),
        ),
      ),
    );
  }
}

And a lot more.... There is a lot of customization available which is self explantory. If you ever face a problem, feel free to create an issue.

See the example directory for a complete sample app.

Created & Maintained By Shivam Verma