|
|
|
@ -15,16 +15,18 @@ class ActionSheetButton extends StatelessWidget {
|
|
|
|
onTap: onTap,
|
|
|
|
onTap: onTap,
|
|
|
|
child: Container(
|
|
|
|
child: Container(
|
|
|
|
height: SizeConfig.isMobilePortrait
|
|
|
|
height: SizeConfig.isMobilePortrait
|
|
|
|
? MediaQuery.of(context).size.height * 0.07
|
|
|
|
? MediaQuery.of(context).size.height * 0.08
|
|
|
|
: MediaQuery.of(context).size.height * 0.14,
|
|
|
|
: MediaQuery.of(context).size.height * 0.14,
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
decoration: BoxDecoration(boxShadow: [
|
|
|
|
border: Border.all(color: Colors.blue),
|
|
|
|
BoxShadow(
|
|
|
|
borderRadius: BorderRadius.circular(6),
|
|
|
|
color: Hexcolor("#DBE5E6"),
|
|
|
|
gradient: LinearGradient(colors: [
|
|
|
|
spreadRadius: 15,
|
|
|
|
Hexcolor('#DCE6E8'),
|
|
|
|
blurRadius: 15,
|
|
|
|
Hexcolor('#FFFFFF'),
|
|
|
|
offset: Offset(0, 7),
|
|
|
|
], begin: Alignment.topLeft),
|
|
|
|
|
|
|
|
),
|
|
|
|
// changes position of shadow
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
], borderRadius: BorderRadius.circular(15), color: Colors.white),
|
|
|
|
child: Row(
|
|
|
|
child: Row(
|
|
|
|
mainAxisAlignment: MainAxisAlignment.start,
|
|
|
|
mainAxisAlignment: MainAxisAlignment.start,
|
|
|
|
children: <Widget>[
|
|
|
|
children: <Widget>[
|
|
|
|
@ -61,7 +63,9 @@ class ActionSheetButton extends StatelessWidget {
|
|
|
|
padding: EdgeInsets.only(top: 5.0),
|
|
|
|
padding: EdgeInsets.only(top: 5.0),
|
|
|
|
child: Text(
|
|
|
|
child: Text(
|
|
|
|
label,
|
|
|
|
label,
|
|
|
|
style: TextStyle(fontSize: 18.0),
|
|
|
|
style: TextStyle(fontSize: 22.0,
|
|
|
|
|
|
|
|
fontFamily: "Metropolis-Bold",
|
|
|
|
|
|
|
|
color: Hexcolor("##1A1818")),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
)
|
|
|
|
)
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|