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

FormField Flutter for Text, Date, Time, Date&Time, Boolean, Avatar, Item Picker, Radio Button, Checkbox group.

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

FormField Flutter for Text, Date, Time, Date&Time, Boolean, Avatar, Item Picker, Radio Button, Checkbox group.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

async, flutter, image_picker, intl

More

Packages that depend on fl_form