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

outdated

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
0
points
24
downloads

Publisher

unverified uploader

Weekly Downloads

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

License

unknown (license)

Dependencies

flutter

More

Packages that depend on oboe