|
|
|
@ -25,6 +25,7 @@ class EventActivityBanner extends StatelessWidget {
|
|
|
|
const EventActivityBanner({Key? key}) : super(key: key);
|
|
|
|
const EventActivityBanner({Key? key}) : super(key: key);
|
|
|
|
|
|
|
|
|
|
|
|
Widget getNoUpcomingMarathonWidget(BuildContext context) {
|
|
|
|
Widget getNoUpcomingMarathonWidget(BuildContext context) {
|
|
|
|
|
|
|
|
;
|
|
|
|
return Container(
|
|
|
|
return Container(
|
|
|
|
decoration: MyDecorations.shadowDecoration,
|
|
|
|
decoration: MyDecorations.shadowDecoration,
|
|
|
|
height: isTablet ? MediaQuery.of(context).size.height * 0.17 : MediaQuery.of(context).size.height * 0.11,
|
|
|
|
height: isTablet ? MediaQuery.of(context).size.height * 0.17 : MediaQuery.of(context).size.height * 0.11,
|
|
|
|
@ -258,13 +259,15 @@ class EventActivityBanner extends StatelessWidget {
|
|
|
|
height: double.infinity,
|
|
|
|
height: double.infinity,
|
|
|
|
child: Row(
|
|
|
|
child: Row(
|
|
|
|
children: <Widget>[
|
|
|
|
children: <Widget>[
|
|
|
|
|
|
|
|
|
|
|
|
Expanded(
|
|
|
|
Expanded(
|
|
|
|
flex: 3,
|
|
|
|
flex: 3,
|
|
|
|
child: Image.network(
|
|
|
|
child: Image.network(
|
|
|
|
dashboardProvider.eventActivity?.shortImageURL ??
|
|
|
|
dashboardProvider.eventActivity?.shortImageURL ??
|
|
|
|
"",
|
|
|
|
"",
|
|
|
|
fit: BoxFit.cover,
|
|
|
|
fit: BoxFit.cover,
|
|
|
|
)),
|
|
|
|
key: UniqueKey()
|
|
|
|
|
|
|
|
).paddingAll(5)),
|
|
|
|
Expanded(
|
|
|
|
Expanded(
|
|
|
|
flex: AppState().isArabic(context) ? 4 : 5,
|
|
|
|
flex: AppState().isArabic(context) ? 4 : 5,
|
|
|
|
child: SizedBox(
|
|
|
|
child: SizedBox(
|
|
|
|
|