Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
734 B
2
Indexable
Never
import 'package:flutter/material.dart';

class Home extends StatefulWidget {
  const Home({super.key});

  @override
  State<Home> createState() => _HomeState();
}

class _HomeState extends State<Home> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(
          title: const Text('Provider Demo'),
        ),
        body: Column(children: [
          const TextField(
            decoration: InputDecoration(
                border: OutlineInputBorder(), hintText: 'Enter Item'),
          ),
          ElevatedButton(
            onPressed: () {},
            child: const Text('Submit'),
          ),
          const Text('Item List')
        ]));
  }
}
Leave a Comment