0% found this document useful (0 votes)
2 views

Form

Uploaded by

Đức Đào
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Form

Uploaded by

Đức Đào
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

form_screen.

dart

import 'package:flutter/material.dart';

class FormScreen extends StatefulWidget {


@override
State<FormScreen> createState() => _FormScreenState();
}

class _FormScreenState extends State<FormScreen> {


@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text("Form Page"),
centerTitle: true,
),
body: SingleChildScrollView 8.0

);
}
}

Main.dart
import 'package:first_app/form_screen.dart';
import 'package:flutter/material.dart';

void main() {
runApp(MyApp());
}

class MyApp extends StatelessWidget {


@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
theme: ThemeData(
primarySwatch: Colors.indigo,
),
home: FormScreen(),
);
}
}

You might also like