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