Skip to content
  • About Us
  • Contact Us
  • Disclaimer
  • Privacy Policy
flutter app development

Let Me Flutter

Flutter apps development site

  • Home
  • Flutter App Development
    • Flutter Solutions
      • Tech
      • Setup
        • How to make your first app with flutter?
      • How To Get Flutter Android App Using Flutter Build Apk
    • Dart Fundamentals
      • Flutter Loops
        • How To Easily Use For Loop In Flutter Widgets
        • How To Easily Use ForEach Loop In Flutter
        • How To Easily Use While Loop In Flutter
        • How To Easily Use Flutter For In Loop
        • How To Easily Use Flutter For Loop Index
      • Flutter Lists
        • How To Easily Use List In Flutter Dart
        • [Top 4 Ways] How To Properly Combine Lists In Dart
        • How To Reverse List In Flutter – Easy Flutter Code Example
        • How To Convert List To Set In Flutter – Easy Flutter Code Examples
        • How To Shuffle List In Flutter – Easy Flutter Code Examples
      • Flutter If Else Condition
        • How To Use If Else In Flutter – Easy Flutter Guide
      • Flutter Switch Case
        • How To Easily Use Flutter Switch Statement
      • Flutter Functions
        • How To Easily Use Flutter Function
      • Flutter Maps
        • How To Easily Create And Use Flutter Map List
        • How To Easily Create And Use Flutter Map – Easy Flutter Guide
      • Flutter Variables
        • How To Easily Convert Dart Double to Int (4 Easy Ways)
        • How To Easily Convert Dart Int To String
        • How To Easily Convert Double To String Flutter
        • How To Easily Convert Flutter String To Double
        • How To Easily Convert Flutter String To Int – Easy Flutter Guide
        • How To Perform Flutter String Concatenation [Top 4 Ways]
    • Flutter Web Templates
      • Flutter Web Template – Flutter Web Drawer Widget Example
    • Mobile Templates
      • Instagram UI Template
        • Instagram News Feed UI In Flutter-Beautiful Flutter Design-Flutter Instagram Template Part 1
      • Flutter Forms
        • Signup Flutter Form UI Design-Beautiful Flutter UI Template
        • Flutter Glassmorphism Login UI Template With Source Code
        • Signup Flutter Form UI Design 2022-Beautiful Flutter UI Template
        • Beautiful Flutter Login Template – Flutter templates 2022
        • Gradient Flutter Login UI Form Template With Source Code – Flutter Templates 2022
        • Beautiful Flutter Login UI Form Template
        • Beautiful Flutter Login Page UI Design – Example Code
        • How To Design Beautiful Flutter Login Screen UI
        • How To Design Beautiful Flutter Login Form Template – Easy Flutter Code
        • How To Create Beautiful Flutter Login Form Design UI Template
    • Widgets
      • Menus
        • Flutter Popup Menu Button Detailed Customization With Example-2022 Flutter Guide
      • Sliders
        • Flutter Carousel Slider
          • How To Easily Set Flutter Carousel Slider Full Width
          • How To Easily Use Flutter Carousel Slider OnPageChanged
          • How To Easily Customize Flutter Carousel Slider AutoPlay
        • Flutter Carousel Slider Beautiful Customization With Example
        • Flutter Range Slider Beautiful Customization With Example | Syncfusion
      • Stack
        • Flutter App Stack Widget Detailed Explanation With Example
      • Buttons
        • Flutter Icon Button Example – Detailed Customization – Step By Step
        • Flutter Raised Button Example – Detailed Raised Button Decoration
        • Flutter Elevated Button
          • How To Easily Change Flutter Elevated Button Color
          • How To Change Flutter Elevated Button Border Radius
          • How To Easily Customize Flutter Elevated Button Width
          • How To Easily Customize Flutter Elevated Button Height – Top 2 Methods
          • How To Easily Use Flutter Elevated Button OnPressed
        • Flutter Floating Action Button
          • How To Easily Customize Flutter FloatingActionButton Widget
      • Icons
        • How To Use Icons In Flutter? Font Awesome Icons In Flutter
        • How To Easily Change Flutter Icon Size – Flutter Example Code
      • Flutter Card Widget
        • All You Need To Know About Flutter Card Widget – Explained With Example
        • How To Easily Customize Flutter Card Border Radius
        • How To Easily Customize Flutter Card Border Radius
        • How To Change Flutter Card Color – Easy Flutter Guide
        • How To Change Flutter Card Elevation – Easy Flutter Guide
        • How To Change Flutter Card Shadow Color – Easy Flutter Guide
        • How To Easily Customize Flutter Card Height – Top 2 Methods
      • Flutter Drawer Widget
        • Beautiful Flutter Drawer Widget Customization-Explained With Example
        • How To Change Flutter Drawer Icon Color – Easy Flutter Guide
        • How To Change Flutter Drawer Width – Easy Flutter Code Example
        • How To Easily Change Flutter Drawer Background Color
        • How To Change Flutter Drawer Header Height – Easy Flutter Code Example
      • Appbars
        • How To Design Beautiful AppBar in Flutter
        • Let’s Customize AppBar In Flutter
        • Flutter SliverAppBar Customization I Wish I Knew In 2022
        • How To Add Custom Flutter Appbar Actions-2022 Guide
        • How To Change Flutter Appbar Color In Flutter App-2022 Guide
        • How To Customize Flutter Appbar Leading- 2022 Guide
        • How To Make Flutter Appbar Title Center-2022 Guide
        • How To Implement Flutter Appbar Transparent
        • How To Change Flutter Appbar Height
        • How To Remove Flutter Appbar Elevation
        • How To Change Flutter Appbar Shadow Color
        • How To Easily Change Flutter Appbar Background Color
        • How To Easily Customize Flutter Appbar Back Button
        • How To Easily Set Flutter Appbar Center Text
        • How to Easily Change Flutter Appbar Default Height
        • How To Easily Change Flutter Appbar Icon Color Theme
      • Flutter Textfield
        • Change Flutter Textfield Cursor Color Explained With Example-Best Flutter Guide
        • Flutter Textformfield Default Value Explained With Example
        • Flutter Textfield Onchanged Explained With Example-Best Flutter Guide
        • Flutter Textfield Remove Underline Explained With Example
        • How To Change Flutter Textfield Underline Color
        • How To Implement Flutter Textfield Disable?
        • How To Change Flutter Textfield Height?
        • How To Customize Flutter Textfield Label?
        • How To Customize Flutter Textfield Hint Text?
        • How To Change Flutter Textfield Hint Text Color?
        • How To Customize Flutter Textfield Initial Value?
      • Flutter Textformfield
        • How To Change Flutter Textformfield Background Color
        • How To Set Flutter Textformfield Default Value?
        • How To Change Flutter Textformfield Color?
        • How To Customize Flutter Textformfield KeyboardType?
        • How To Change Flutter Textformfield Border Color?
        • How To Implement Flutter Textformfield Remove Underline?
        • How To Change Flutter Textformfield Underline Color?
        • How To Change Flutter Textformfield Hint Text Size?
        • How To Change Flutter Textformfield Font Size?
        • How To Change Flutter Textformfield Hint Text Color?
        • How To Implement Flutter Textformfield Hint Text Center?
        • How To Change Flutter Textformfield Error Text
        • How To Change Flutter Textformfield Error Style
        • How To Change Flutter Textformfield Text Color
        • How To Change Flutter Textformfield Outline Border Color
        • How To Change Flutter Textformfield Outline Border Width
        • How To Change Flutter Textformfield Label Text
      • Flutter Dropdown
        • How To Change Flutter Dropdown Icon
        • How To Implement Flutter Dropdown Remove Underline
        • How To Change Flutter Dropdown Icon Color
        • How To Change Flutter Dropdown Background Color
        • How To Change Flutter Dropdown Border Radius
        • How To Change Flutter Dropdown Icon Size
        • How To Implement Flutter Dropdown OnChange
      • Flutter ListViews
        • How To Implement Flutter ListView Horizontal
        • How To Implement Flutter ListView Builder Horizontal
      • Flutter Popup Menu
        • How To Use Flutter Popup Menu Item Ontap
        • How To Change Flutter Popup Menu Shape
        • How To Change Flutter Popup Menu Width
        • How To Change Popup Menu Icon Flutter
        • How To Change Flutter Popup Menu Item Height
        • How To Change Flutter Popup Menu Icon Size
      • Flutter SingleChildScrollView
        • How To Use Flutter SingleChildScrollView
      • Flutter Raised Button
        • How To Change Flutter RaisedButton Width
        • How To Change Flutter RaisedButton Color
        • How To Change Flutter RaisedButton Shape
        • How To Use Flutter RaisedButton OnPressed
        • How To Implement Flutter RaisedButton Disable
        • How To Change Flutter RaisedButton Disabled Color
        • How To Change Flutter RaisedButton Size
        • How To Easily Use Flutter RaisedButton Icon
        • How To Use Flutter Raisedbutton Icon OnPressed
        • How To Change Flutter Raised Button Elevation
      • Flutter Icon Button
        • How To Change Flutter Icon Button Background Color
        • How To Change Flutter Icon Button Size
        • How To Use Flutter Icon Button OnPressed
      • Flutter Flat Button
        • How To Easily Change Flutter FlatButton Color
      • Flutter Text Widget
        • How To Easily Set Flutter Text Align Center
        • How To Easily Change Flutter Text Font Size
        • How To Easily Change Flutter Text Size
        • How To Make Flutter Text Bold-Example Code
        • How To Change Flutter Text Color-Example Code
        • How To Set Flutter Text Italic-Easy Flutter Code Example
        • How To Change Flutter Text Line Height-Easy Flutter Code Example
        • How To Easily Set Flutter Text Underline
        • How To Easily Add Flutter Text Shadow
        • How To Easily Set Flutter Text Word Spacing
        • How To Easily Set Flutter Text Letter Spacing
        • How To Easily Set Space Between Flutter Text And Underline
        • How To Easily Align Flutter Text Justify
        • How To Easily Change Flutter Text Underline Color
      • Flutter Images
        • Learn How To Use Flutter Image Asset-Easy Flutter Guide
      • Flutter Column Widget
        • How To Easily Set Flutter Column Align Left
        • How To Easily Implement Flutter Column Scrollable
        • How To Easily Customize Flutter Column Spacing
      • Flutter Snackbar
        • How To Easily Use Flutter Snackbar Widget
      • Flutter Wrap Widget
        • How To Easily Use Flutter Wrap Widget – Flutter Example Code
      • Flutter Container Border Customization[Detailed Guide]
      • Flutter SizedBox Widget
        • How To Easily Customize Flutter SizedBox Widget
      • Flutter InkWell Widget
        • How To Easily Use Flutter InkWell OnTap
      • Textfield In Flutter App Detailed Explanation With Example
      • Flutter Textfield Align Center With Example
      • Flutter Image Picker
        • How To Properly Use Flutter Image Picker – Easy Flutter Example
      • Flutter Container Widget
        • How To Easily Change Flutter Container Size
        • How To Easily Set Flutter Container Full Width
        • How To Easily Customize Flutter Box Shadow Offset
        • How To Easily Customize Flutter Container Shadow
        • How To Easily Change Flutter Container Border Radius
        • How To Easily Change Flutter Container Padding
        • How To Easily Change Flutter Container Color
        • How To Easily Add Flutter Container Background Image
        • How To Easily Change Flutter Container Shadow Color
        • How To Easily Change Flutter Container Height
        • How To Easily Customize Flutter Container Margin
        • How To Easily Implement Flutter Container Gradient
        • How To Easily Set Flutter Box Shadow Only Top
        • How To Easily Implement Flutter Container Shape Circle
        • How To Easily Change Flutter Container Alignment
      • Beautiful Bottom Navigation Bar In Flutter App-Android And Flutter IOS-Dart Flutter
      • Let’s Customize Texts In Flutter
      • How To Change Flutter Textfield Color [Easy Examples]
      • Flutter Textfield Border Radius Explained With Example-Best Flutter Guide
      • Flutter Glassmorphism
        • How To Easily Customize Flutter Glassmorphism Container
        • How To Easily Change Flutter Glassmorphism Container Size
      • Flutter Icon Button Example – Detailed Customization – Step By Step
      • Flutter SetState
        • How To Easily Use Flutter SetState
      • Flutter Positioned Widget
        • How To Easily Use Flutter Positioned Widget – Example Code
      • Flutter Padding
        • How To Use Flutter Padding – Easy Flutter Guide
      • How to Add a Flutter Bottom Navigation Bar in Your Flutter App-2022 Guide
      • Neumorphic Effect In Flutter App Container Widget
      • How To Change Flutter Textfield Border Color
      • Container Customization In Flutter App
      • Flutter Textfield Only Numbers Explained With Example-Best Flutter Guide
      • Flutter Gesture Detector Widget
        • How To Easily Use Flutter GestureDetector OnTap
      • Flutter Textfield Maxlength Detailed Explanation With Example-Best Flutter Guide
      • How To Use Columns In Flutter Apps
      • Flutter Textfield Decoration Detailed Explanation With Example-Flutter Guide 2022
      • Beautiful Grid View Builder In Flutter App-Detailed Customization
      • ListView Builder In Flutter Apps
      • Flutter Table Widget
        • How To Easily Customize Flutter Table Widget
      • How To Use Rows In Flutter Apps
      • How To Change Flutter Textfield Font Size
    • React Native
      • React Native Jobs In 2023: All You Need To Know
      • Why Should I Learn React Native Framework In 2023
      • Right React Native Elements for Your Next App [Detailed Guide]
      • Benefits Of Creating A React Native App [Easy Guide]
    • Updates
      • What’s New in Flutter 2.10 release?
    • Animations
      • Animated Container
        • How To Use Animated Container In Flutter? Explained With Example
      • Animated Texts
        • Animated Text Kit In Flutter App-Dart Flutter Makes Animation Easy
      • Lottie Animations
        • How To Use Beautiful Lottie Animations In Flutter App
      • Hero Animations
        • Hero Animations In Flutter App With Example-Beautiful Flutter Animations In Dart Language
  • Python Programming
    • Python Tuples
      • How To Easily Create Python Tuple – Easy Python Guide
    • Python Dictionaries
      • How To Properly Define And Use Python Dictionary – Easy Python Code Example
      • How To Properly Use Python Dict To Create Dictionary – Easy Python Guide
      • How To Use Python Dictionary Get Method – Easy Python Code Example
      • How To Use Python Dictionary Pop Method – Easy Python Guide
      • How To Use Python Dictionary SetDefault Method – Easy Python Guide
      • How To Use Python Dictionary Clear Method – Easy Python Code Example
    • Python Del Keyword
      • How To Properly Use Python Del Keyword – Easy Python Code
    • Python If Else Statement
      • How To Easily Use Python If Else Statement
      • How To Use Python Elif Statement – Easy Python Guide
      • How To Easily Use Nested If In Python
    • Python Loops
      • Python For Loop
        • How To Easily Use Python For Loop – Python Code Examples
      • Python While Loop
        • How To Use Python While Loop – Easy Code Examples
    • Python Break and Continue
      • Python Break Statement
        • How To Easily Use Python Break Statement – Python Code Examples
      • Python Continue Statement
        • How To Easily Use Python Continue Statement
    • Python Pass Statement
      • How To Easily Use Python Pass Statement
    • Python Functions
      • How To Properly Use Python Function – Super Easy Python Guide
      • How To Properly Use Python Function Arguments – Easy Python Guide
      • How To Properly Use Python Lambda Function – Easy Python Guide
    • Python Variables
      • How To Define And Use Python Global Variable – Easy Python Guide
      • How To Properly Use Python Local Variable – Easy Python Guide
      • How To Properly Use Python NonLocal Variables – Easy Python Guide
    • Python Classes and Objects
      • How To Properly Define And Use Python Class – Easy Example Code
    • Python Lists
      • How To Easily Use Python List Pop Method
      • How To Properly Use Python List Remove Method – Easy Python Guide
      • How To Properly Use Python List Extend – Easy Python Guide
      • How To Properly Use Python List Insert – Easy Python Guide
      • How To Easily Use Python List Index Method – Python Example Code
      • How To Easily Use Python List Count Method – Python Example Code
      • How To Easily Use Python List Reverse Method
      • How To Easily Use Python List Sort Method
      • How To Properly Use Python List Copy Method – Easy Python Guide
      • How To Easily Use Python List Clear Method
      • How To Easily Create Python List – Easy Python Example Code
      • How To Properly Use Python List Append – Easy Python Code
      • How To Easily Convert Python List To String
      • How To Easily Get Python List Size – Top 2 Methods
  • Code Compiler
    • Free Online Code Compiler
  • Free SEO Tools
    • On Page SEO Checker
    • Bulk URL Checker
    • Keyword List Multiplier
    • Link Spinner
    • File Merger
    • Analytics Spam Filter Tool
    • Google Cache Finder
    • Structured Data Tool For Local Businesses
    • RSS Feed Commander
  • More
    • About Us
    • Disclaimer
    • Contact Us
    • Privacy Policy
  • Toggle search form
Flutter Login Template

Beautiful Flutter Login Template – Flutter templates 2022

Posted on March 31, 2022April 16, 2022 By ZeeshanAli No Comments on Beautiful Flutter Login Template – Flutter templates 2022

In this article, we will be implementing a beautiful flutter login template design. We will be using gradients, flutter textfields, flutter container, flutter rows and columns widget, flutter text widgets and many more. At the end of this article, we will provide a complete source code for the mentioned flutter login template design. Click here for an other amazing gradient flutter form UI. But first, if you are new in flutter and want to setup flutter then click here. Let’s jump right into developing the mentioned beautiful Flutter login template.

Flutter Login Template Implementation

Let’s start step by step implementation of the mentioned beautiful flutter login template.

flutter login template

Gradient Background Color

Container(

          height: double.infinity,

          width: double.infinity,

          alignment: Alignment.center,

          decoration: BoxDecoration(

              gradient: LinearGradient(

                  colors: [Colors.blue.shade200, Colors.blue.shade900])),)
We have given a gradient colored contained to the body of scaffold. It will implement a blue gradient background for the whole background of the flutter login template.

Title Text Decoration

  Container(

                  height: 150,

                  width: 230,

                  decoration: BoxDecoration(

                      gradient: LinearGradient(

                          colors: [Colors.blue.shade200, Colors.blue.shade900]),

                      boxShadow: [

                        BoxShadow(

                            blurRadius: 4,

                            spreadRadius: 3,

                            color: Colors.black12)

                      ],

                      borderRadius: BorderRadius.circular(200)

                          .copyWith(bottomRight: Radius.circular(0))),

                  child: Container(

                    margin: EdgeInsets.all(15),

                    decoration: BoxDecoration(

                        gradient: LinearGradient(colors: [

                          Colors.blue.shade200,

                          Colors.blue.shade900

                        ]),

                        boxShadow: [

                          BoxShadow(

                              blurRadius: 4,

                              spreadRadius: 3,

                              color: Colors.black12)

                        ],

                        borderRadius: BorderRadius.circular(200)

                            .copyWith(bottomRight: Radius.circular(0))),

                    child: Container(

                      margin: EdgeInsets.all(15),

                      decoration: BoxDecoration(

                          gradient: LinearGradient(colors: [

                            Colors.blue.shade200,

                            Colors.blue.shade900

                          ]),

                          boxShadow: [

                            BoxShadow(

                                blurRadius: 4,

                                spreadRadius: 3,

                                color: Colors.black12)

                          ],

                          borderRadius: BorderRadius.circular(200)

                              .copyWith(bottomRight: Radius.circular(0))),

                      child: Container(

                        margin: EdgeInsets.all(15),

                        decoration: BoxDecoration(

                            gradient: LinearGradient(colors: [

                              Colors.blue.shade200,

                              Colors.blue.shade900

                            ]),

                            boxShadow: [

                              BoxShadow(

                                  blurRadius: 4,

                                  spreadRadius: 3,

                                  color: Colors.black12)

                            ],

                            borderRadius: BorderRadius.circular(200)

                                .copyWith(bottomRight: Radius.circular(0))),

                        child: Row(

                          mainAxisAlignment: MainAxisAlignment.center,

                          children: [

                            Text(

                              'Let\'s',

                              style: TextStyle(

                                  fontSize: 22,

                                  fontWeight: FontWeight.bold,

                                  color: Colors.white,

                                  shadows: [

                                    Shadow(

                                        color: Colors.black45,

                                        offset: Offset(1, 1),

                                        blurRadius: 5)

                                  ]),

                            ),

                            Text(

                              ' Login',

                              style: TextStyle(

                                  fontSize: 22,

                                  fontWeight: FontWeight.bold,

                                  color: Colors.blue.shade600,

                                  shadows: [

                                    Shadow(

                                        color: Colors.black45,

                                        offset: Offset(1, 1),

                                        blurRadius: 5)

                                  ]),

                            ),

                          ],

                        ),

                      ),

                    ),

                  ),

                ),
nested flutter containers
We have decorated the top title text using nested containers, we have used four containers and nest them using the child constructor of each container and also we have given them a gradient background color. We have used a row widget so we can use two flutter text widgets inside the last child container. Code for this design is given below.

Email And Password Flutter Textfields

 Padding(

                  padding:

                      EdgeInsets.symmetric(horizontal: 30).copyWith(bottom: 10),

                  child: TextField(

                    style: TextStyle(color: Colors.white, fontSize: 14.5),

                    decoration: InputDecoration(

                        prefixIconConstraints: BoxConstraints(minWidth: 45),

                        prefixIcon: Icon(

                          Icons.email,

                          color: Colors.white70,

                          size: 22,

                        ),

                        border: InputBorder.none,

                        hintText: 'Enter Email',

                        hintStyle:

                            TextStyle(color: Colors.white60, fontSize: 14.5),

                        enabledBorder: OutlineInputBorder(

                            borderRadius: BorderRadius.circular(100)

                                .copyWith(bottomRight: Radius.circular(0)),

                            borderSide: BorderSide(color: Colors.white38)),

                        focusedBorder: OutlineInputBorder(

                            borderRadius: BorderRadius.circular(100)

                                .copyWith(bottomRight: Radius.circular(0)),

                            borderSide: BorderSide(color: Colors.white70))),

                  ),

                ),
flutter textfields
We have used the code of email field above but don’t worry, you will get the code for password textfield at the last of this article. We have used a prefix icon in both email and password textfields. It is the icon that you see before them text. We also have used a hint text, this is the text that is shown when the textfield is empty, to give user a hint of what to write in that specific field. It disappears whenever the user type something in the field and reappears when the field is empty again.
In the password textfield, we have also used a suffix icon which you can see in the right side of the field. We have implemented a logic that whenever you click on it, it will show the text inputted by the user, if it is hidden and hide it if it is shown. We have used a gesture detector class and the textfield constructor named obsureText to implement this. You can check the logic in the code of password textfield.

Forgot Password Clickable Text

Align(

                  alignment: Alignment.centerRight,

                  child: GestureDetector(

                    onTap: () {},

                    child: Padding(

                      padding: EdgeInsets.only(right: 30),

                      child: Text('Forgot Password?',

                          style:

                              TextStyle(color: Colors.white70, fontSize: 13)),

                    ),

                  ),

                ),
We can see the forgot password text below the password textfield, we have wrapped it with gesture detector class to make it clickable. You can use the gesture detectors’ constructor to implement some specific functions which will be triggered whenever the user clicks on the forgot password text.

Login Clickable Container Button

GestureDetector(

                  onTap: () {},

                  child: Container(

                    height: 53,

                    width: double.infinity,

                    margin: EdgeInsets.symmetric(horizontal: 30),

                    alignment: Alignment.center,

                    decoration: BoxDecoration(

                        boxShadow: [

                          BoxShadow(

                              blurRadius: 4,

                              color: Colors.black12.withOpacity(.2),

                              offset: Offset(2, 2))

                        ],

                        borderRadius: BorderRadius.circular(100)

                            .copyWith(bottomRight: Radius.circular(0)),

                        gradient: LinearGradient(colors: [

                          Colors.blue.shade200,

                          Colors.blue.shade900

                        ])),

                    child: Text('Login',

                        style: TextStyle(

                            color: Colors.white.withOpacity(.8),

                            fontSize: 15,

                            fontWeight: FontWeight.bold)),

                  ),

                ),
clickable container
We have decorated a flutter container with gradient color, round edges, shadows and a centered text widget and made it clickable by wrapping it with gesture detector class. We can now specify any actions which will be triggered whenever the user clicks on that button.

Signup Container Clickable Button

Text('Don\'t have an account?',

                    style: TextStyle(color: Colors.white70, fontSize: 13)),

                SizedBox(

                  height: 20,

                ),

                Container(

                  height: 53,

                  width: double.infinity,

                  margin: EdgeInsets.symmetric(horizontal: 30),

                  alignment: Alignment.center,

                  decoration: BoxDecoration(

                    border: Border.all(color: Colors.white60),

                    borderRadius: BorderRadius.circular(100)

                        .copyWith(bottomRight: Radius.circular(0)),

                  ),

                  child: Text('Signup',

                      style: TextStyle(

                          color: Colors.white.withOpacity(.8),

                          fontSize: 15,

                          fontWeight: FontWeight.bold)),

                ),
clickable gradient container
We have used a text widget code as well with the signup container clickable button. The text that you see above the signup button. After that, let’s come to the signup button implementation. It is implemented in the same way as the login button is implemented but with some changes. We have used a colored border in it and a we haven’t specified any background color of the container which makes it transparent. Congrats, we have successfully implemented our beautiful flutter login template design. The whole source code for this beautiful flutter login template is given below.

Source Code

flutter login template

import 'package:flutter/material.dart';

void main() {

  runApp(const MyApp());

}

class MyApp extends StatelessWidget {

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

  @override

  Widget build(BuildContext context) {

    return MaterialApp(

      title: 'Flutter Beautiful Login Template',

      debugShowCheckedModeBanner: false,

      theme: ThemeData(

          primarySwatch: Colors.blue,

          accentColor: Colors.blue,

          primaryColor: Colors.blue,

          focusColor: Colors.blue,

          cursorColor: Colors.blue),

      home: Homepage(),

    );

  }

}

class Homepage extends StatefulWidget {

  const Homepage({Key? key}) : super(key: key);

  @override

  State<Homepage> createState() => _HomepageState();

}

class _HomepageState extends State<Homepage> {

  bool isPasswordVisible = false;

  @override

  Widget build(BuildContext context) {

    return SafeArea(

      child: Scaffold(

        body: Container(

          height: double.infinity,

          width: double.infinity,

          alignment: Alignment.center,

          decoration: BoxDecoration(

              gradient: LinearGradient(

                  colors: [Colors.blue.shade200, Colors.blue.shade900])),

          child: SingleChildScrollView(

            child: Column(

              children: [

                SizedBox(

                  height: 50,

                ),

                Container(

                  height: 150,

                  width: 230,

                  decoration: BoxDecoration(

                      gradient: LinearGradient(

                          colors: [Colors.blue.shade200, Colors.blue.shade900]),

                      boxShadow: [

                        BoxShadow(

                            blurRadius: 4,

                            spreadRadius: 3,

                            color: Colors.black12)

                      ],

                      borderRadius: BorderRadius.circular(200)

                          .copyWith(bottomRight: Radius.circular(0))),

                  child: Container(

                    margin: EdgeInsets.all(15),

                    decoration: BoxDecoration(

                        gradient: LinearGradient(colors: [

                          Colors.blue.shade200,

                          Colors.blue.shade900

                        ]),

                        boxShadow: [

                          BoxShadow(

                              blurRadius: 4,

                              spreadRadius: 3,

                              color: Colors.black12)

                        ],

                        borderRadius: BorderRadius.circular(200)

                            .copyWith(bottomRight: Radius.circular(0))),

                    child: Container(

                      margin: EdgeInsets.all(15),

                      decoration: BoxDecoration(

                          gradient: LinearGradient(colors: [

                            Colors.blue.shade200,

                            Colors.blue.shade900

                          ]),

                          boxShadow: [

                            BoxShadow(

                                blurRadius: 4,

                                spreadRadius: 3,

                                color: Colors.black12)

                          ],

                          borderRadius: BorderRadius.circular(200)

                              .copyWith(bottomRight: Radius.circular(0))),

                      child: Container(

                        margin: EdgeInsets.all(15),

                        decoration: BoxDecoration(

                            gradient: LinearGradient(colors: [

                              Colors.blue.shade200,

                              Colors.blue.shade900

                            ]),

                            boxShadow: [

                              BoxShadow(

                                  blurRadius: 4,

                                  spreadRadius: 3,

                                  color: Colors.black12)

                            ],

                            borderRadius: BorderRadius.circular(200)

                                .copyWith(bottomRight: Radius.circular(0))),

                        child: Row(

                          mainAxisAlignment: MainAxisAlignment.center,

                          children: [

                            Text(

                              'Let\'s',

                              style: TextStyle(

                                  fontSize: 22,

                                  fontWeight: FontWeight.bold,

                                  color: Colors.white,

                                  shadows: [

                                    Shadow(

                                        color: Colors.black45,

                                        offset: Offset(1, 1),

                                        blurRadius: 5)

                                  ]),

                            ),

                            Text(

                              ' Login',

                              style: TextStyle(

                                  fontSize: 22,

                                  fontWeight: FontWeight.bold,

                                  color: Colors.blue.shade600,

                                  shadows: [

                                    Shadow(

                                        color: Colors.black45,

                                        offset: Offset(1, 1),

                                        blurRadius: 5)

                                  ]),

                            ),

                          ],

                        ),

                      ),

                    ),

                  ),

                ),

                SizedBox(

                  height: 40,

                ),

                Padding(

                  padding:

                      EdgeInsets.symmetric(horizontal: 30).copyWith(bottom: 10),

                  child: TextField(

                    style: TextStyle(color: Colors.white, fontSize: 14.5),

                    decoration: InputDecoration(

                        prefixIconConstraints: BoxConstraints(minWidth: 45),

                        prefixIcon: Icon(

                          Icons.email,

                          color: Colors.white70,

                          size: 22,

                        ),

                        border: InputBorder.none,

                        hintText: 'Enter Email',

                        hintStyle:

                            TextStyle(color: Colors.white60, fontSize: 14.5),

                        enabledBorder: OutlineInputBorder(

                            borderRadius: BorderRadius.circular(100)

                                .copyWith(bottomRight: Radius.circular(0)),

                            borderSide: BorderSide(color: Colors.white38)),

                        focusedBorder: OutlineInputBorder(

                            borderRadius: BorderRadius.circular(100)

                                .copyWith(bottomRight: Radius.circular(0)),

                            borderSide: BorderSide(color: Colors.white70))),

                  ),

                ),

                Padding(

                  padding:

                      EdgeInsets.symmetric(horizontal: 30).copyWith(bottom: 10),

                  child: TextField(

                    style: TextStyle(color: Colors.white, fontSize: 14.5),

                    obscureText: isPasswordVisible ? false : true,

                    decoration: InputDecoration(

                        prefixIconConstraints: BoxConstraints(minWidth: 45),

                        prefixIcon: Icon(

                          Icons.lock,

                          color: Colors.white70,

                          size: 22,

                        ),

                        suffixIconConstraints:

                            BoxConstraints(minWidth: 45, maxWidth: 46),

                        suffixIcon: GestureDetector(

                          onTap: () {

                            setState(() {

                              isPasswordVisible = !isPasswordVisible;

                            });

                          },

                          child: Icon(

                            isPasswordVisible

                                ? Icons.visibility

                                : Icons.visibility_off,

                            color: Colors.white70,

                            size: 22,

                          ),

                        ),

                        border: InputBorder.none,

                        hintText: 'Enter Password',

                        hintStyle:

                            TextStyle(color: Colors.white60, fontSize: 14.5),

                        enabledBorder: OutlineInputBorder(

                            borderRadius: BorderRadius.circular(100)

                                .copyWith(bottomRight: Radius.circular(0)),

                            borderSide: BorderSide(color: Colors.white38)),

                        focusedBorder: OutlineInputBorder(

                            borderRadius: BorderRadius.circular(100)

                                .copyWith(bottomRight: Radius.circular(0)),

                            borderSide: BorderSide(color: Colors.white70))),

                  ),

                ),

                SizedBox(

                  height: 10,

                ),

                Align(

                  alignment: Alignment.centerRight,

                  child: GestureDetector(

                    onTap: () {},

                    child: Padding(

                      padding: EdgeInsets.only(right: 30),

                      child: Text('Forgot Password?',

                          style:

                              TextStyle(color: Colors.white70, fontSize: 13)),

                    ),

                  ),

                ),

                SizedBox(

                  height: 40,

                ),

                GestureDetector(

                  onTap: () {},

                  child: Container(

                    height: 53,

                    width: double.infinity,

                    margin: EdgeInsets.symmetric(horizontal: 30),

                    alignment: Alignment.center,

                    decoration: BoxDecoration(

                        boxShadow: [

                          BoxShadow(

                              blurRadius: 4,

                              color: Colors.black12.withOpacity(.2),

                              offset: Offset(2, 2))

                        ],

                        borderRadius: BorderRadius.circular(100)

                            .copyWith(bottomRight: Radius.circular(0)),

                        gradient: LinearGradient(colors: [

                          Colors.blue.shade200,

                          Colors.blue.shade900

                        ])),

                    child: Text('Login',

                        style: TextStyle(

                            color: Colors.white.withOpacity(.8),

                            fontSize: 15,

                            fontWeight: FontWeight.bold)),

                  ),

                ),

                SizedBox(

                  height: 50,

                ),

                Text('Don\'t have an account?',

                    style: TextStyle(color: Colors.white70, fontSize: 13)),

                SizedBox(

                  height: 20,

                ),

                Container(

                  height: 53,

                  width: double.infinity,

                  margin: EdgeInsets.symmetric(horizontal: 30),

                  alignment: Alignment.center,

                  decoration: BoxDecoration(

                    border: Border.all(color: Colors.white60),

                    borderRadius: BorderRadius.circular(100)

                        .copyWith(bottomRight: Radius.circular(0)),

                  ),

                  child: Text('Signup',

                      style: TextStyle(

                          color: Colors.white.withOpacity(.8),

                          fontSize: 15,

                          fontWeight: FontWeight.bold)),

                ),

                SizedBox(

                  height: 20,

                )

              ],

            ),

          ),

        ),

      ),

    );

  }

}

Note:

That’s all for this article, and I hope you learned a lot from it. Use this beautiful flutter login template in your project, and share your results with us. We would love to see how you’ve used this flutter login template in your Flutter app. We would be looking forward to your reply in our next article in which we explore other amazing flutter widgets and flutter templates. Thanks.

Share this post:

Share on Twitter Share on Facebook Share on Pinterest Share on LinkedIn Share on WhatsApp
Flutter Forms Tags:beautifiul flutter login ui, flutter free login ui template, flutter login page design example, flutter login page free source code, flutter login page source code, flutter login page template, flutter login template, flutter login template example, flutter login ui code, flutter login ui design template, flutter login ui example, flutter login ui templates free, flutter template example, flutter templates, login button flutter, login flutter example, login flutter template, login flutter template example, login flutter ui

Post navigation

Previous Post: Signup Flutter Form UI Design 2022-Beautiful Flutter UI Template
Next Post: Gradient Flutter Login UI Form Template With Source Code – Flutter Templates 2022

Related Posts

neumorphic flutter login and registration page ui design Neumorphic Flutter Login And Registration Page Design [Free Source Code] Flutter Forms
neumorphic flutter login screen Neumorphic Flutter Login Screen Design [Free Source Code] Flutter Forms
flutter login page Beautiful Flutter Login Page UI Design – Example Code Flutter Forms
neumorphic flutter login ui page Beautiful Neumorphic Flutter Login UI Page Design [Free Source Code] Flutter Forms
flutter login and registration ui Beautiful Flutter Login And Registration UI Design [Free Source Code] Flutter Forms
flutter login screen How To Design Beautiful Flutter Login Screen UI Flutter Forms

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Latest Posts

  • Flutter Firebase CRUD App [Create, Read, Update, Delete]
  • [Solved] Flutter Pinch Zoom Image In ListView Builder
  • Flutter Contacts List [Display Data And Make A Call]
  • Flutter Reorderable Grid View Easy Explanation [Detailed Example]
  • Python Nested Dictionary [Explained With 6 Easy Examples]
  • Python Dictionary Keys Method [Easy Python Code Programs]
  • How To Use Python Dictionary FromKeys Method [Easy Examples]
  • Python Dictionary Clear Method [Explained With Examples]
  • How To Use Python Set Update Method [Python Code Examples]
  • How To Use Python Set Union Method [Easy Python Programs]
  • Python Set Symmetric Difference Update Method [Easy Examples]
  • How To Use Python Set Symmetric Difference Method
  • How To Use Python Set Pop Method [Easy Code Guide]
  • How To Use Python Set Issubset Method [Easy Python Examples]
  • How To Use Python Set IsDisjoint Method [Detailed Examples]
  • How To Use Python Set Intersection Update Method
  • How To Use Python Set Intersection [Easy Python Tutorial]
  • How To Properly Use Python Set Discard Method
  • Python Set Difference Update Method [Easy Examples]
  • Python Set Difference Method Implementation [Easy Guide]
  • How To Properly Use Python Set Clear Method

Menu

  • Let Me Flutter – Home
  • Flutter App Development
  • Python Programming
  • About Us
  • Contact Us
  • Disclaimer
  • Privacy Policy

Categories

LATEST POSTS

  • Flutter Firebase CRUD App [Create, Read, Update, Delete]
  • [Solved] Flutter Pinch Zoom Image In ListView Builder
  • Flutter Contacts List [Display Data And Make A Call]
  • Flutter Reorderable Grid View Easy Explanation [Detailed Example]
  • Python Nested Dictionary [Explained With 6 Easy Examples]

Copyright © 2023 Let Me Flutter.

Powered by PressBook Media WordPress theme