lo_form 0.0.1-dev.0 copy "lo_form: ^0.0.1-dev.0" to clipboard
lo_form: ^0.0.1-dev.0 copied to clipboard

outdated

Lightweight forms library for Flutter.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:url_launcher/url_launcher.dart';

import 'constants.dart';
import 'footer.dart';
import 'home_page.dart';
import 'theme.dart';

void main() {
  runApp(App());
}

class App extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'LoForm',
      theme: AppTheme().data,
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        appBar: AppBar(
          centerTitle: true,
          title: const Text('LoForm'),
          actions: [
            TextButton(
              onPressed: () => launch(kLoFormGhUrl),
              child: const Padding(
                padding: EdgeInsets.symmetric(horizontal: 16),
                child: Text(
                  'GitHub',
                  style: TextStyle(
                    color: Colors.white54,
                  ),
                ),
              ),
            )
          ],
        ),
        body: HomePage(),
        bottomNavigationBar: Footer(),
      ),
    );
  }
}
31
likes
0
pub points
74%
popularity

Publisher

unverified uploader

Lightweight forms library for Flutter.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, provider

More

Packages that depend on lo_form