Skip to main content

custom_flutter_textfield 0.0.1 copy "custom_flutter_textfield: ^0.0.1" to clipboard
custom_flutter_textfield: ^0.0.1 copied to clipboard

A Custom TextFormField For Flutter Project.

example/example.dart

import 'package:custom_flutter_textfield/custom_flutter_textfield.dart';
import 'package:flutter/material.dart';

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

class MyApp extends StatelessWidget {
  const MyApp({super.key});
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Custom TextField',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const HomePage(),
    );
  }
}

class HomePage extends StatelessWidget {
  const HomePage({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Custom TextField'),
      ),
      body: Padding(
        padding: const EdgeInsets.all(8.0),
        child: Column(
          children: [
            CustomTextField(
              controller: TextEditingController(),
            )
          ],
        ),
      ),
    );
  }
}
6
likes
140
points
26
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Custom TextFormField For Flutter Project.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on custom_flutter_textfield