forked from eatvio/eatvio_app
refactor:
This commit is contained in:
@@ -1,22 +1,16 @@
|
||||
import 'package:eatvio_app/core/app_export.dart';
|
||||
import 'package:eatvio_app/theme/custom_text_style.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
// ignore: must_be_immutable
|
||||
class ExitButton extends StatelessWidget {
|
||||
ExitButton({
|
||||
Key? key,
|
||||
const ExitButton({
|
||||
required this.text,
|
||||
this.margin,
|
||||
this.onTap,
|
||||
}) : super(
|
||||
key: key,
|
||||
);
|
||||
});
|
||||
|
||||
String text;
|
||||
|
||||
EdgeInsetsGeometry? margin;
|
||||
|
||||
Function? onTap;
|
||||
final String text;
|
||||
final EdgeInsetsGeometry? margin;
|
||||
final Function? onTap;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
|
||||
Reference in New Issue
Block a user