A new Flutter package.
This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
- Description: A widget that creates an Alert Dialog Box dynamically along with clickable Flat Buttons. This Dialog box can come in handy when a user needs to be prompted or double-checked about any action before progressing to the next Route. The default Implementation of this widget when the user doesn't pass any value to the widget gives an Alert Dialog box along with two buttons 'Yes' or 'No'. Usage: The user can pass in Flat Buttons, Title of the Alert and the content that is supposed to be displayed. The user can also pass on parameters like border radius, padding, shadow elevation etc. See AlertDialogContents and AlertDialogParameters class definitons for more information. The user also passes a callback function which is invoked when the Alert Dialog box is used. AlertDialogContents alertObj1 = new AlertDialogContents(