This repository has been archived on 2022-04-20. You can view files and clone it, but cannot push or open issues or pull requests.
app/lib/pages/list_page.dart

27 lines
596 B
Dart
Raw Normal View History

2018-09-15 16:21:48 +00:00
import 'package:flutter/material.dart';
class ListPage extends StatefulWidget {
final String listName;
ListPage({this.listName}) : super(key: Key(listName));
@override
_ListPageState createState() => _ListPageState();
}
class _ListPageState extends State<ListPage> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: new Text(widget.listName),
),
body: Center(
child: RaisedButton(
onPressed: () => Navigator.of(context).pop(),
child: const Text("Go back")),
),
);
}
}