|
@@ -40,24 +40,25 @@ class _LinkMenuState extends State<LinkMenu> {
|
|
|
|
|
|
@override
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
Widget build(BuildContext context) {
|
|
- return Container(
|
|
|
|
- decoration: BoxDecoration(
|
|
|
|
- color: Colors.white,
|
|
|
|
- boxShadow: [
|
|
|
|
- BoxShadow(
|
|
|
|
- blurRadius: 5,
|
|
|
|
- spreadRadius: 1,
|
|
|
|
- color: Colors.black.withOpacity(0.1),
|
|
|
|
- ),
|
|
|
|
- ],
|
|
|
|
- borderRadius: BorderRadius.circular(6.0),
|
|
|
|
- ),
|
|
|
|
- child: SizedBox(
|
|
|
|
- width: 350,
|
|
|
|
|
|
+ return SizedBox(
|
|
|
|
+ width: 350,
|
|
|
|
+ child: Container(
|
|
|
|
+ decoration: BoxDecoration(
|
|
|
|
+ color: Colors.white,
|
|
|
|
+ boxShadow: [
|
|
|
|
+ BoxShadow(
|
|
|
|
+ blurRadius: 5,
|
|
|
|
+ spreadRadius: 1,
|
|
|
|
+ color: Colors.black.withOpacity(0.1),
|
|
|
|
+ ),
|
|
|
|
+ ],
|
|
|
|
+ borderRadius: BorderRadius.circular(6.0),
|
|
|
|
+ ),
|
|
child: Padding(
|
|
child: Padding(
|
|
padding: const EdgeInsets.all(20.0),
|
|
padding: const EdgeInsets.all(20.0),
|
|
child: Column(
|
|
child: Column(
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
+ mainAxisSize: MainAxisSize.min,
|
|
children: [
|
|
children: [
|
|
_buildHeader(),
|
|
_buildHeader(),
|
|
const SizedBox(height: 16.0),
|
|
const SizedBox(height: 16.0),
|