simple_flutter_dialog 0.0.2 copy "simple_flutter_dialog: ^0.0.2" to clipboard
simple_flutter_dialog: ^0.0.2 copied to clipboard

simple plugin to create dialog in flutter

simple_flutter_dialog #

pub package GitHub stars GitHub Open Source Love

a simple plugin in to show custom dialog in flutter.

Installation:

dependencies:
  easy_dialog: <latest version>

Usage:

Import the package

import 'package:simple_flutter_dialog/simple_flutter_dialog.dart';

Basic usage:

SimpleFlutterDialog(
    dialogTitle: Text('My Simple dialog'),
    headerImage: NetworkImage('https://via.placeholder.com/150'))
    isScrollable: true,
    child: Text(
        'Text content'
    ),
    actions: [
      FlatButton(
        onPressed: () {},
        child: Text('action'),
      ),
    ],
    .show(context);

All attributes:

Attribute Name Data Type Description
headerImage ImageProvider Image provider for header image
dialogTitle Text text widget for dialog title
actions List list of widget for bottom actions
height double height for dialog card
width double width for dialog card
bgOverlayColor Color background color for overlay
radius double radius for corners
childPadding double padding for child
headerImageHeight double header image height
dialogColor Color background color for card
child Widget child widget
isScrollable bool do you eant to keep ypur content scrollable or not
contentListAlignment CrossAxisAlignment cross axis alignment for content
actionsRowAlignment MainAxisAlignment main axis alignment for actions
headerImageFit BoxFit header image fit
1
likes
30
pub points
0%
popularity

Publisher

unverified uploader

simple plugin to create dialog in flutter

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on simple_flutter_dialog