just 0.0.1
just: ^0.0.1 copied to clipboard
One very lightweight state management library for Flutter
example/lib/main.dart
import 'package:flutter/material.dart';
import 'package:just/just.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatefulWidget {
const MyApp({super.key});
@override
State<MyApp> createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Just'),
),
body: Center(
child: Text("Just do it. ${test()}"),
),
),
);
}
}