mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-02 02:17:39 +00:00
28 lines
No EOL
641 B
Dart
28 lines
No EOL
641 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class AlertCloseButton extends StatelessWidget {
|
|
AlertCloseButton({@required this.image});
|
|
|
|
final Image image;
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Positioned(
|
|
bottom: 60,
|
|
child: GestureDetector(
|
|
onTap: () => Navigator.of(context).pop(),
|
|
child: Container(
|
|
height: 42,
|
|
width: 42,
|
|
decoration: BoxDecoration(
|
|
color: Colors.white,
|
|
shape: BoxShape.circle
|
|
),
|
|
child: Center(
|
|
child: image,
|
|
),
|
|
),
|
|
)
|
|
);
|
|
}
|
|
} |