oboe 0.1.3 copy "oboe: ^0.1.3" to clipboard
oboe: ^0.1.3 copied to clipboard

Oboe is a elegant state management library. Its description only needs two screenshots, Oboe not need Provider at root Widget, Oboe is tiny and ease use, only 2 API.

example/example.dart

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

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

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: Text("Hello"),
        ),
        body: Center(
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: <Widget>[
              Text(
                'You have pushed the button this many times:',
              ),
              user.ob(() => Text(user.age.toString())),
              user.ob(() => Text(user.name)),
              TextField(
                onChanged: (text) => user.changeName(text),
              )
            ],
          ),
        ),
        floatingActionButton: FloatingActionButton(
          onPressed: () => user.add(),
          tooltip: 'Increment',
          child: Icon(Icons.add),
        ),
      ),
    );
  }
}
6
likes
150
pub points
5%
popularity

Publisher

unverified uploader

Oboe is a elegant state management library. Its description only needs two screenshots, Oboe not need Provider at root Widget, Oboe is tiny and ease use, only 2 API.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

flutter

More

Packages that depend on oboe