finite_state_widget 0.0.2 copy "finite_state_widget: ^0.0.2" to clipboard
finite_state_widget: ^0.0.2 copied to clipboard

Declarative FSM-driven widgets with optional controllers (MVC/MVVM style) and an easy map-based UI per-state.

example/lib/main.dart

import 'package:example/demo_screen.dart';
import 'package:flutter/material.dart';

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

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

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: Scaffold(
        backgroundColor: Colors.grey,
        body: SafeArea(child: Center(child: DemoScreen())),
      ),
    );
  }
}
1
likes
160
points
140
downloads

Documentation

API reference

Publisher

verified publisherccisne.dev

Weekly Downloads

Declarative FSM-driven widgets with optional controllers (MVC/MVVM style) and an easy map-based UI per-state.

Repository (GitHub)
View/report issues

Topics

#widget #state-management #macss

License

MIT (license)

Dependencies

flutter

More

Packages that depend on finite_state_widget