Rename to bottom_sheet_dialog_button and two_bottom_sheet_dialog_buttons
parent
31cf229763
commit
e1c635a911
@ -1,18 +1,15 @@
|
|||||||
import 'package:doctor_app_flutter/config/size_config.dart';
|
import 'package:doctor_app_flutter/config/size_config.dart';
|
||||||
import 'package:doctor_app_flutter/widgets/shared/buttons/app_buttons_widget.dart';
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:hexcolor/hexcolor.dart';
|
import 'package:hexcolor/hexcolor.dart';
|
||||||
|
|
||||||
import '../../config/config.dart';
|
|
||||||
|
|
||||||
class TwoBottomSheetDialogButtons extends StatelessWidget {
|
class BottomSheetContainer extends StatelessWidget {
|
||||||
final Function onTap;
|
final Function onTap;
|
||||||
final String label;
|
final String label;
|
||||||
final Widget widget;
|
final Widget widget;
|
||||||
|
|
||||||
double headerHeight = SizeConfig.heightMultiplier * 12;
|
double headerHeight = SizeConfig.heightMultiplier * 12;
|
||||||
|
|
||||||
TwoBottomSheetDialogButtons({Key key, this.onTap, this.label, this.widget}) : super(key: key);
|
BottomSheetContainer({Key key, this.onTap, this.label, this.widget}) : super(key: key);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
Loading…
Reference in New Issue