text_form_field_outline

Creator: coderz1093

Last updated:

0 purchases

text_form_field_outline Image
text_form_field_outline Images

Languages

Categories

Add to Cart

Description:

text form field outline

TextFormFieldOutline is a library for adding a beautiful Text Form Field with Outline border feature.
You can use a pre-defined TextFormFieldOutline or make a fully customized TextFormField with Outline border.
know whether this package might be useful for them.
Installation #


Add the latest version of package to your pubspec.yaml (and run 'dart pub get')
yaml
dependancies:
text_form_field_outline: ^0.0.3


Import the package and use it in your Flutter app.
import 'package:text_form_field_outline/text_form_field_outline.dart';



Features #

Default Border around textformField
change border color
change border radius

Getting started #
import 'package:flutter/material.dart';
import 'package:text_form_field_outline/text_form_field_outline.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: 'Text Form Field Outline',
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
useMaterial3: true,
),
home: const MyHomePage(title: 'Text Form Field Outline'),
);
}
}

class MyHomePage extends StatefulWidget {
const MyHomePage({super.key, required this.title});

final String title;

@override
State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {


@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
backgroundColor: Theme.of(context).colorScheme.inversePrimary,
title: Text(widget.title),
),
body: Center(
child: TextFormFieldOutline(),
),

);
}
}


copied to clipboard
Image #

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.