flutter_obs 1.6.3 copy "flutter_obs: ^1.6.3" to clipboard
flutter_obs: ^1.6.3 copied to clipboard

a easy flutter state management, the source code is less than 100, but you can use it to implement global and local states

example/lib/main.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: HomePage());
  }
}

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

  @override
  State<HomePage> createState() => _HomePageState();
}

class _HomePageState extends State<HomePage> {
  int count = 0;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Example'),
      ),
      body: ListView(
        children: const [],
      ),
    );
  }
}
0
likes
160
pub points
45%
popularity

Publisher

unverified uploader

a easy flutter state management, the source code is less than 100, but you can use it to implement global and local states

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_obs