mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-01 09:57:46 +00:00
16 lines
No EOL
437 B
Dart
16 lines
No EOL
437 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:flutter/cupertino.dart';
|
|
|
|
class StandartCloseButton extends StatelessWidget {
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return SizedBox(
|
|
height: 37,
|
|
width: 37,
|
|
child: FlatButton(
|
|
padding: EdgeInsets.all(0),
|
|
onPressed: () => Navigator.of(context).pop(),
|
|
child: Image.asset('assets/images/close_button.png')),
|
|
);
|
|
}
|
|
} |