git-touch-android-ios-app/lib/screens/issue.dart

35 lines
821 B
Dart
Raw Normal View History

import 'package:flutter/material.dart';
2019-01-25 18:43:09 +01:00
import 'package:flutter/cupertino.dart';
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
Widget build(BuildContext context) {
2019-01-25 18:43:09 +01:00
return CupertinoPageScaffold(
navigationBar: CupertinoNavigationBar(
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
),
);
}
}