2019-01-27 17:37:44 +01:00
|
|
|
import 'package:flutter/material.dart';
|
2019-01-25 18:43:09 +01:00
|
|
|
import 'package:flutter/cupertino.dart';
|
|
|
|
|
2019-01-27 17:37:44 +01:00
|
|
|
class IssueScreen extends StatefulWidget {
|
|
|
|
final int id;
|
|
|
|
final String repo;
|
|
|
|
IssueScreen(this.id, this.repo);
|
|
|
|
|
|
|
|
@override
|
|
|
|
_IssueScreenState createState() => _IssueScreenState();
|
|
|
|
}
|
|
|
|
|
|
|
|
class _IssueScreenState extends State<IssueScreen> {
|
|
|
|
int active = 0;
|
|
|
|
|
2019-01-25 18:43:09 +01:00
|
|
|
@override
|
2019-01-27 17:37:44 +01:00
|
|
|
Widget build(BuildContext context) {
|
2019-01-25 18:43:09 +01:00
|
|
|
return CupertinoPageScaffold(
|
|
|
|
navigationBar: CupertinoNavigationBar(
|
2019-01-27 17:37:44 +01:00
|
|
|
middle: Text(widget.repo + ' #' + widget.id.toString()),
|
|
|
|
trailing: Icon(Icons.more_vert, size: 24),
|
|
|
|
),
|
|
|
|
child: SafeArea(
|
|
|
|
child: Column(
|
|
|
|
children: <Widget>[
|
|
|
|
Container(
|
|
|
|
child: Text(widget.id.toString() + widget.repo),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
2019-01-25 18:43:09 +01:00
|
|
|
),
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|