<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Taiwo Hassan</title>
    <description>The latest articles on DEV Community by Taiwo Hassan (@devtaiwo).</description>
    <link>https://dev.to/devtaiwo</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F881776%2F83c3c6c8-7caf-49ad-9376-ee2a2088aa02.png</url>
      <title>DEV Community: Taiwo Hassan</title>
      <link>https://dev.to/devtaiwo</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/devtaiwo"/>
    <language>en</language>
    <item>
      <title>pop_alert new flutter package</title>
      <dc:creator>Taiwo Hassan</dc:creator>
      <pubDate>Wed, 29 Jun 2022 10:57:00 +0000</pubDate>
      <link>https://dev.to/devtaiwo/popalert-new-flutter-package-5bbn</link>
      <guid>https://dev.to/devtaiwo/popalert-new-flutter-package-5bbn</guid>
      <description>&lt;p&gt;pop_alert is an open source flutter package for responsive and animated alert/dialog.&lt;br&gt;
&lt;a href="https://pub.dev/packages/pop_alert"&gt;package link&lt;/a&gt;&lt;br&gt;
also please dont forget to like the package.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Installation&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Add the latest version of package to your pubspec.yaml (and runflutter pub get):
&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;dependencies:
  pop_alert: ^0.0.30
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;ol&gt;
&lt;li&gt;Import the package and use it in your Flutter App.
&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import 'package:pop_alert/pop_alert.dart';
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;&lt;strong&gt;Example&lt;/strong&gt;&lt;br&gt;
There are a numbers of properties that you can modify:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;icon&lt;/li&gt;
&lt;li&gt;title&lt;/li&gt;
&lt;li&gt;text&lt;/li&gt;
&lt;li&gt;button&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Simple alert show a dialog with no animated icon&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;PopAlert.simpleAlert(
    context: context,
    title: 'Hello world!',
    button: 'OK',
)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;PopAlert.simpleAlert(
    context: context,
    title: 'Title goes here!',
    text: '...and text goes here!',
    button: 'OK',
)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Icon alert show a dialog with animated icon of four type of alert.&lt;br&gt;
The icon can be of four type &lt;strong&gt;success&lt;/strong&gt;, &lt;strong&gt;failed&lt;/strong&gt;, &lt;strong&gt;info&lt;/strong&gt;, and &lt;strong&gt;warning&lt;/strong&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;PopAlert.iconAlert(
    context: context,
    icon: PopAlertIcon.success,
    title: 'Good job!',
    button: 'OK',
)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;PopAlert.iconAlert(
    context: context,
    icon: PopAlertIcon.success,
    title: 'Good job!',
    text: 'You clicked the button!',
    button: 'OK',
)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Developers are welcome to contribute to make the package more better. &lt;a href="https://github.com/tjava/pop_alert"&gt;github link&lt;/a&gt;&lt;br&gt;
also please dont forget to star the repo.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
