text_field_custom_hai 0.0.2
text_field_custom_hai: ^0.0.2 copied to clipboard
TextFieldCustom is a Flutter package that provides a customizable and feature-rich text field widget for Flutter applications. This package aims to streamline the process of creating text input fields [...]
example/lib/main.dart
import 'package:flutter/material.dart';
import 'package:text_field_custom_hai/text_field_custom_hai.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
useMaterial3: true,
),
home: const MyHomePage(),
);
}
}
class MyHomePage extends StatefulWidget {
const MyHomePage({super.key});
@override
State<MyHomePage> createState() => _MyHomePageState();
}
class _MyHomePageState extends State<MyHomePage> {
final TextEditingController _textEditingController = TextEditingController();
@override
Widget build(BuildContext context) {
return Scaffold(
body: SafeArea(
child: TextFieldCustom(
title: "title", hind: "hind", controller: _textEditingController),
),
);
}
}