PersonalStatistics constructor
- dynamic key,
- required dynamic widget,
- required String userId,
Creates a PersonalStatistics widget.
The widget
must not be null and is used to access Firestore.
The userId
must be a valid user ID.
Implementation
const PersonalStatistics({
super.key,
required this.widget,
required String userId,
}) : _userId = userId;