Skip to content

Instantly share code, notes, and snippets.

View prateek-code-22's full-sized avatar
🎯
Focusing

Prateek Singh prateek-code-22

🎯
Focusing
View GitHub Profile
@prateek-code-22
prateek-code-22 / LoginPage.dart
Created June 3, 2021 14:55
Clearing the text field after returning from home page.
import 'package:catalog_app/utils/route.dart';
import 'package:flutter/material.dart';
import 'package:velocity_x/velocity_x.dart';
class LoginPage extends StatefulWidget {
@override
_LoginPageState createState() => _LoginPageState();
}
class _LoginPageState extends State<LoginPage> {