I'm making a learning app. But here, I would like to bookmark only the problem I want out of hundreds of problems, so that the mark appears on the problem selection page next time.
The question is whether this can only be implemented in flutter without firebase or any other database.
Is it possible to implement it locally?
child: Scaffold(
appBar: AppBar(
backgroundColor: Colors.white,
title: Text('1-1',
style: TextStyle(
color: Colors.blueAccent,
fontSize: 20,
fontWeight: FontWeight.bold,
),),
centerTitle: true,
leading: IconButton(
onPressed: () {
Navigator.pop(context);
},
color: Colors.black,
iconSize: 25,
icon: Icon(Icons.arrow_back),
),
actions: <Widget>[
IconButton(
icon: Icon(Icons.bookmark_outline),
iconSize: 25,
color: Colors.black,
onPressed: () {
//here
}
),
],
),