I am new in Flutter and still learn basics and my next step is to create user role-based authorization Flutter desktop app using local database (SQLite). In the web I can't find any resources about this approach. Most of them is about Firebase auth.
For example I would like to display widgets based on user role or have admin panel to manage and assign roles to the users.
I suppose that i need at least 3 tables (Users, Roles, User-Roles) with many-to-many relationship.
Can someone lead me to the appropriate resoures or give a hint where should I start?
Any idea, hint or link to the source will be valuable to me.