|
|
|
@ -8,13 +8,21 @@ class UnfocusParser extends StatelessWidget {
|
|
|
|
|
@override
|
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
|
return Material(
|
|
|
|
|
elevation: 4,
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
clipBehavior: Clip.antiAlias,
|
|
|
|
|
borderRadius: BorderRadius.circular(5),
|
|
|
|
|
child: ListTile(
|
|
|
|
|
onTap: () {},
|
|
|
|
|
title: Text(data.toString()),
|
|
|
|
|
onTap: () => Navigator.push(
|
|
|
|
|
context,
|
|
|
|
|
MaterialPageRoute(
|
|
|
|
|
builder: (context) => Scaffold(
|
|
|
|
|
appBar: AppBar(title: Text(data.runtimeType.toString())),
|
|
|
|
|
body: Text(data.toString()),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
title: Text(
|
|
|
|
|
data.toString(),
|
|
|
|
|
maxLines: 1,
|
|
|
|
|
),
|
|
|
|
|
trailing: Chip(
|
|
|
|
|
label: Text(data.runtimeType.toString()),
|
|
|
|
|
),
|
|
|
|
|