Commit 6f49ad08 authored by Dasun Madushanka's avatar Dasun Madushanka

update form

parent ee2a5ab7
import 'package:flutter/material.dart';
class EmptyState extends StatelessWidget {
final String title, message, age, mage;
EmptyState({this.title, this.message, this.age, this.mage});
@override
Widget build(BuildContext context) {
return Material(
borderRadius: BorderRadius.circular(20),
elevation: 16,
color: Theme.of(context).cardColor.withOpacity(.95),
shadowColor: Theme.of(context).accentColor.withOpacity(.5),
child: Padding(
padding: EdgeInsets.all(20),
child: Column(
mainAxisSize: MainAxisSize.min,
children: <Widget>[
Text(title, style: Theme.of(context).textTheme.headline2),
Padding(
padding: EdgeInsets.all(8.0),
child: Text(message),
),
],
),
),
);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment