1
0
mirror of https://github.com/git-touch/git-touch synced 2024-12-24 23:01:18 +01:00
git-touch-android-ios-app/lib/screens/pulls.dart

21 lines
531 B
Dart
Raw Normal View History

2019-12-13 06:13:45 +01:00
import 'package:flutter/material.dart';
import 'package:git_touch/screens/issues.dart';
import 'package:git_touch/utils/utils.dart';
final pullsRouter = RouterScreen(
'/:owner/:name/pulls',
(context, params) =>
PullsScreen(params['owner'].first, params['name'].first));
class PullsScreen extends StatelessWidget {
final String owner;
final String name;
PullsScreen(this.owner, this.name);
@override
Widget build(BuildContext context) {
return IssuesScreen(owner, name, isPullRequest: true);
}
}