Flutter Login UI With Sweet Alert

This tutorial is a step-by-step guide to building a Flutter app that integrates login and registration features.

Flutter Login UI With Sweet Alert

Package :

dev_dependencies:
sweetalert: ^0.0.1

Import File

import 'package:sweetalert/sweetalert.dart';

Sweet Alert Dialog Flutter

InkWell(
onTap: (){
SweetAlert.show(context,
title: "Login Success !",
subtitle: "Congratulations",
style: SweetAlertStyle.success);
},
child: Container(
height: 50,
margin: EdgeInsets.symmetric(horizontal: 50),
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(50),
color: Colors.amber[900]),
child: Center(
child: Text(
"Login",
style: TextStyle(
color: Colors.white,
fontSize: 20,
fontWeight: FontWeight.bold),
),
),
),
),
Flutter Login UI With Sweet Alert

--

--

Codes With Sunny

∂αяк ρяσgяαммєя ℓєαяη ѕσмєтнιηg ηєω єνєяу∂αу ℓιηυχ ℓσνєя ρутнση|נανα|ℓιηυχ