AbstractStatefulBuilder constructor
const
AbstractStatefulBuilder({
- Key? key,
- required Widget builder(
- BuildContext context
- void initState(
- BuildContext context
- void dispose()?,
Implementation
const AbstractStatefulBuilder({
super.key, // Use Key? instead of super.key for clarity
required this.builder,
this.initState,
this.dispose,
});