uniform 2.0.7 copy "uniform: ^2.0.7" to clipboard
uniform: ^2.0.7 copied to clipboard

A lightweight form library for Flutter that handles form validation and state management gracefully, with unified form representation.

example/lib/main.dart

// Copyright 2023 Acme Software LLC. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import 'package:flutter/material.dart';
import 'package:uniform_example/login_page.dart';

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

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

  @override
  Widget build(BuildContext context) {
    const inputDecorationTheme = InputDecorationTheme(
      border: OutlineInputBorder(),
    );

    return MaterialApp(
      title: 'Uniform Demo',
      theme: ThemeData(
        colorSchemeSeed: Colors.green,
        brightness: Brightness.dark,
        useMaterial3: true,
        inputDecorationTheme: inputDecorationTheme,
        dropdownMenuTheme: const DropdownMenuThemeData(
          inputDecorationTheme: inputDecorationTheme,
        ),
      ),
      home: const LoginPage(),
    );
  }
}
10
likes
160
pub points
61%
popularity
screenshot

Publisher

verified publisheracmesoftware.com

A lightweight form library for Flutter that handles form validation and state management gracefully, with unified form representation.

Homepage
Repository (GitHub)
View/report issues

Topics

#form #validation #reactive #forms

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on uniform