lukas-heiligenbrunner
9ef317f0ba
centered error message when failed loading video feed display server url on settings page
23 lines
529 B
Dart
23 lines
529 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
import '../api/video_api.dart';
|
|
import 'preview_grid.dart';
|
|
import '../types/actor.dart';
|
|
|
|
class ActorFeed extends StatefulWidget {
|
|
const ActorFeed({Key? key, required this.actor}) : super(key: key);
|
|
final Actor actor;
|
|
|
|
@override
|
|
State<ActorFeed> createState() => _ActorFeedState();
|
|
}
|
|
|
|
class _ActorFeedState extends State<ActorFeed> {
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return PreviewGrid(
|
|
videoLoader: () => loadVideoByActor(widget.actor),
|
|
);
|
|
}
|
|
}
|