A Smooth Dialog Is The Customized Dialog That Provides

A smooth dialog is the customized dialog that provides the simple configuration of dialog and it has two UI experiences is Android and iOS.

Features

CustomDialog will show base on Platform that build on it.

  • This is for android, web, windows and linux.

photo_2021-12-10 10 02 27

  • This is for iOS and mac.

photo_2021-12-10 10 02 32

Getting started

Copy it into pubspec.yaml then run command flutter pub get

smooth_dialog: ^0.0.4

Usage

  • This is how to show dialog
  final SmoothDialog smoothDialog = SmoothDialog(context);
      smoothDialog
        .setTitleHeader("this is the header dialog")
        .setDescription("This is description")
        .setTitlePositive("Confirm")
        .setTitleNegative("Cancel")
        .showDialog();
  • This is how to dismiss dialog
  final SmoothDialog smoothDialog = SmoothDialog(context);
      smoothDialog.dismissDialog();
  • it also provide listener call back from button positive negative and dismiss
  final SmoothDialog smoothDialog = SmoothDialog(context);
    smoothDialog
        .setTitleHeader("this is the header dialog")
        .setDescription("This is description")
        .setTitlePositive("Confirm")
        .setTitleNegative("Cancel")
        .addButtonNegativeListener((){
          print("User click on button Negative");
    })
        .addButtonPositiveListener((){
      print("User click on button Positive");
    })
        .addDismissListener((){
      print("User was exit dialog");
    })
        .showDialog();

Additional information

This is my first package, so if you want to contribute, please create an issue on this repository on Github, thank you!

smooth_dialog

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add smooth_dialog

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  smooth_dialog: ^0.0.4

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

Import it

Now in your Dart code, you can use:

import 'package:smooth_dialog/smooth_dialog.dart'; 

example/lib/main.dart

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

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

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key}) : super(key: key);

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  late SmoothDialog smoothDialog;

  @override
  void initState() {
    super.initState();
    smoothDialog = SmoothDialog(context);
  }

  void _showAlertDialog() {
    smoothDialog
        .setTitleHeader("this is the header dialog")
        .setDescription("This is description")
        .setTitlePositive("Confirm")
        .setTitleNegative("Cancel")
        .addButtonNegativeListener(() {})
        .addButtonPositiveListener(() {})
        .addDismissListener(() {})
        .showDialog();
  }

  void _showLoadingDialog() {
    smoothDialog.showLoadingDialog();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text("Flutter Demo Home Page"),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            TextButton(
              onPressed: () {
                _showAlertDialog();
              },
              child: const Text(
                "Show Alert dialog",
                style: TextStyle(fontWeight: FontWeight.bold, fontSize: 24),
              ),
            ),
            TextButton(
              onPressed: () {
                _showLoadingDialog();
              },
              child: const Text(
                "Show Loading dialog",
                style: TextStyle(fontWeight: FontWeight.bold, fontSize: 24),
              ),
            ),
          ],
        ),
      ),
    );
  }
} 

Download Details:

Author: Pisey-Nguon

Source Code: https://github.com/Pisey-Nguon/flutter_smooth_dialog

#flutter #dialog 

What is GEEK

Buddha Community

A Smooth Dialog Is The Customized Dialog That Provides
Fynzo Survey

Fynzo Survey

1622049211

Fynzo Customer Feedback Software For Cafes, Hotels, Saloons, Spa!

Customer Feedback Tool | Fynzo online customer feedback comes with Android, iOS app. Collect feedback from your customers with tablets or send them feedback links.

Visit page for more information: https://www.fynzo.com/feedback

#CustomerFeedbackSystem
#PowerfulCustomerFeedbackSystem
#freecustomerfeedbacktools
#automatedcustomerfeedbacksystem
#customerfeedbacktools
#customerratingsystem
#Customerfeedbackmanagement

#customer feedback system #powerful customer feedback system #free customer feedback tools #automated customer feedback system #customer feedback tools #customer rating system

Erwin  Boyer

Erwin Boyer

1625278620

Is Tech Making or Breaking Your Customer Experience?

Technology can be a two-edged sword. It can deliver incredible results and create unique problems. The customer experience (CX) sector, in particular, has been heavily impacted by technology for quite some time.

Just because you’re using customer relationship management (CRM) tech, doesn’t mean it’s working, though. Here are a few questions to ask yourself to see if your tech is making or breaking your customer’s experience.

Is Your Customer Service Organized?

Are You Ignoring Phone Calls for Other Tech?

Is Your Customer Experience too Tech-Centric?

Is Your Customer Experience Obsessed with Speed?

#customer-experience #customer-service #technology #tech #customer-support #customer-engagement #bus #customer-support-chatbots

Custom Mobile App Development Services Company in USA

AppClues Infotech is the best custom mobile app development company in USA. We offer custom mobile app development services in USA to effectively solve your business purpose.

For more info:
Website: https://www.appcluesinfotech.com/
Email: info@appcluesinfotech.com
Call: +1-978-309-9910

#custom mobile app development #custom app development services #custom app development company in usa #custom mobile app developers in usa #custom app development agency in usa #hire custom mobile app developers

Custom Mobile App Development Services in USA

Want to build a custom mobile app for your business or startup? We at AppClues Infotech, provide the best custom mobile app development services in USA. We have highly skilled & creative team of custom mobile app designers and developers that will help to make a perfect mobile app with the latest features & functionalities.

However big or small your app development needs, we’ll build you a finest & effective mobile app that’s tailored specifically to your business needs.

Our Custom Mobile App Development Services:
• Android & iOS App Development
• Cross-Platform & Hybrid App Development
• Enterprise Mobility Solutions
• Mobile Commerce App Development
• Mobile Wallet App Development
• Wearable App Development
• UI/UX Design
• Mobile App Consulting

For more info:
Website: https://www.appcluesinfotech.com/
Email: info@appcluesinfotech.com
Call: +1-978-309-9910

#custom mobile app development company in usa #hire custom mobile app developers #top custom app development company in usa #how to build custom mobile app #custom mobile app development #custom mobile app development services in usa

Custom Mobile App Development Agency in USA

Get in touch with AppClues Infotech for custom mobile app development projects. We at AppClues Infotech build high-performance, robust and creative mobile apps for your business or start-ups.

We have a dedicated team of mobile app developers that can develop apps for various platforms that take your business to the next level and increase business ROI.

Our Custom Mobile App Development Services:
• Android App Development
• iOS App Development
• Cross-Platform App Development
• Flutter App Development
• Cross-Platform App Development
• Ionic App Development
• React Native App Development

For more info:
Website: https://www.appcluesinfotech.com/
Email: info@appcluesinfotech.com
Call: +1-978-309-9910

#custom mobile app development usa #hire custom app developers in usa #top custom app development agency in usa #how to make custom mobile application #best custom mobile app development services #cost to make a custom mobile app