mirror of
https://github.com/git-touch/git-touch
synced 2024-12-24 23:01:18 +01:00
21 lines
531 B
Dart
21 lines
531 B
Dart
|
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);
|
||
|
}
|
||
|
}
|