mirrored_repositories/CRUD
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

class test extends StatefulWidget {
  const test({Key? key}) : super(key: key);

  @override
  State<test> createState() => _testState();
}

class _testState extends State<test> {
  String name = " ";
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Column(
        children: [
          TextField(
            onChanged: (val) {
              setState(() {
                name = val;
              });
            },
          ),
          Text('${name}')
        ],
      ),
    );
  }
}
