ephemeral_state_manager 1.0.3 ephemeral_state_manager: ^1.0.3 copied to clipboard
Package simplificado para gerenciamento de estado efêmoro para widgets
import 'package:flutter/material.dart';
import 'PageStateSetterBuilder.dart';
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialApp(
title: "Flutter demo",
theme: ThemeData(primarySwatch: Colors.blue),
home: PageStateSetterBuilder(
controller: PageStateSetterBuilderController()),
);
}
}