simple_flutter_dialog 0.0.2

Flutter Android iOS

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