streaming_forms 0.1.0-alpha.1
streaming_forms: ^0.1.0-alpha.1 copied to clipboard
A form package providing Dart streams.
example/lib/main.dart
import 'package:flutter/material.dart';
import 'package:streaming_forms_example/home.page.dart';
import 'package:streaming_forms_example/individual_widgets.page.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 MaterialApp(
title: 'Streaming Forms Demo',
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
useMaterial3: true,
),
debugShowCheckedModeBanner: false,
routes: {
'/': (context) => const HomePage(),
'/individual': (context) => const IndividualWidgetsPage(),
},
initialRoute: '/',
);
}
}