📝
Invalid use of a private type in a public API.Try making the private
Invalid use of a private type in a public API.
Try making the private type public, or making the API that uses the private type also be private.
class DashboardPage extends StatefulWidget {
const DashboardPage({super.key});
_DashboardPageState createState() => _DashboardPageState();
}
↓
class DashboardPage extends StatefulWidget {
const DashboardPage({super.key});
DashboardPageState createState() => DashboardPageState();
}
class DashboardPageState extends State<DashboardPage> {
Discussion