You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
594 B
25 lines
594 B
import 'package:flutter/material.dart';
|
|
|
|
/// UnfocusParser
|
|
class UnfocusParser extends StatelessWidget {
|
|
final dynamic data;
|
|
const UnfocusParser({Key key, @required this.data}) : super(key: key);
|
|
|
|
@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()),
|
|
trailing: Chip(
|
|
label: Text(data.runtimeType.toString()),
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|