rx_text_field 0.1.0 copy "rx_text_field: ^0.1.0" to clipboard
rx_text_field: ^0.1.0 copied to clipboard

A reactive text field widget for Flutter that synchronizes with data models.

example/lib/main.dart

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

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'RX TextField demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.blue),
        useMaterial3: true,
      ),
      home: const MyHomePage(title: 'RX Text Field Demo'),
    );
  }
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text(title),
      ),
      body: const SingleChildScrollView(
        child: LoginForm(),
      ),
    );
  }
}
0
likes
160
points
215
downloads

Publisher

verified publisherstevenosse.com

Weekly Downloads

A reactive text field widget for Flutter that synchronizes with data models.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on rx_text_field