spooky_state 1.0.0 copy "spooky_state: ^1.0.0" to clipboard
spooky_state: ^1.0.0 copied to clipboard

A next-gen Flutter state management system inspired by the strange and beautiful world of quantum physics.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:micro_state_example/counter.dart';
import 'driving.dart';

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Quantum Counter',
      theme: ThemeData(
        primarySwatch: Colors.deepPurple,
      ),
      home: const HomePage(),
    );
  }
}

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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('Quantum Home')),
      body: const CounterPage(),
      floatingActionButton: FloatingActionButton(
        child: const Icon(Icons.drive_eta),
        onPressed: () {
          Navigator.push(
            context,
            MaterialPageRoute(builder: (context) => const QuantumDrivingPage()),
          );
        },
      ),
    );
  }
}
0
likes
150
points
98
downloads
screenshot

Publisher

verified publisherflutterwiki.com

Weekly Downloads

A next-gen Flutter state management system inspired by the strange and beautiful world of quantum physics.

Repository (GitHub)
View/report issues

Topics

#state-management #flutter #quantum #reactive

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on spooky_state