foo_form_field 1.0.0-beta.7 copy "foo_form_field: ^1.0.0-beta.7" to clipboard
foo_form_field: ^1.0.0-beta.7 copied to clipboard

Reusable Flutter FormFields for all your needs.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'home_screen.dart';
void main() {
  runApp(const MyApp());
}

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      
      home: const HomeScreen(),
      theme: ThemeData(
        disabledColor: Colors.brown,
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.transparent,primary: Colors.blueAccent,secondary:  Colors.black),
        inputDecorationTheme: InputDecorationTheme(
          contentPadding: EdgeInsets.all(10),
          focusedBorder: OutlineInputBorder(
            borderSide: BorderSide(color: Colors.green),
            borderRadius: BorderRadius.circular(10),
            gapPadding: 2
          ),
          enabledBorder: OutlineInputBorder(
            borderRadius: BorderRadius.circular(10),
            gapPadding: 2
          ),
           
          errorStyle: TextStyle(
            color: Colors.red,
          ),
        )
      ),
    );
  }
}
0
likes
0
points
790
downloads

Publisher

unverified uploader

Weekly Downloads

Reusable Flutter FormFields for all your needs.

Repository (GitHub)
View/report issues

Topics

#form #fields #validation

Documentation

Documentation

License

unknown (license)

Dependencies

flutter

More

Packages that depend on foo_form_field