fl_form 0.0.3 copy "fl_form: ^0.0.3" to clipboard
fl_form: ^0.0.3 copied to clipboard

Flutter package support FormField for Text,Date, Bool, ItemPicker..

example/lib/main.dart

import 'package:example/main_example.dart';
import 'package:flutter/material.dart';

import 'package:fl_form/formfield/fl_form_field_theme.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 Center(
      child: MediaQuery(
          data: MediaQuery.of(context).copyWith(
            size: Size(
              MediaQuery.of(context).size.width / 2,
              MediaQuery.of(context).size.height,
            ),
          ),
          child: Builder(
            builder: (context) {
              return MaterialApp(
                title: 'Flutter Demo',
                theme: ThemeData.dark(
                  useMaterial3: true,
                ).copyWith(extensions: [
                  FlFormFieldTheme.dark(context),
                ]),
                home: const MainExample(),
              );
            },
          )),
    );
  }
}
9
likes
0
points
47
downloads

Publisher

verified publisherdangngocduc.dev

Weekly Downloads

Flutter package support FormField for Text,Date, Bool, ItemPicker..

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, image_picker, intl

More

Packages that depend on fl_form