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

First Open Source Flutter based Beautiful Material Design Text fields.(More designed text fields coming soon.)

example/lib/main.dart

import 'package:flutter/material.dart';

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

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        // This is the theme of your application.
        //
        // Try running your application with "flutter run". You'll see the
        // application has a blue toolbar. Then, without quitting the app, try
        // changing the primarySwatch below to Colors.green and then invoke
        // "hot reload" (press "r" in the console where you ran "flutter run",
        // or simply save your changes to "hot reload" in a Flutter IDE).
        // Notice that the counter didn't reset back to zero; the application
        // is not restarted.
        primarySwatch: Colors.blue,
      ),
      home: const ExampleApp(),
    );
  }
}
// ignore_for_file: prefer_typing_uninitialized_variables

// ignore_for_file: must_be_immutable


class ExampleApp extends StatelessWidget {
  const ExampleApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: Container(
              padding: const EdgeInsets.fromLTRB(10,2,10,2),
              width: 320,
              decoration: BoxDecoration(
                 borderRadius: BorderRadius.circular(5),
                 border: Border.all(color: Colors.red)
              ),
              child: const TextField(
                decoration: InputDecoration(
                  border: InputBorder.none,
                  labelText: "First Name",
                ),
              ),
            ),
      ),
    );
  }
}
12
likes
130
points
13
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

First Open Source Flutter based Beautiful Material Design Text fields.(More designed text fields coming soon.)

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on pretty_textfield