|
|
|
|
@ -15,7 +15,7 @@ class AppFooter extends StatelessWidget {
|
|
|
|
|
return Consumer(builder: (BuildContext context, ScreenConfigViewModel screenConfigVM, Widget? child) {
|
|
|
|
|
return Container(
|
|
|
|
|
color: Colors.grey.withOpacity(0.1),
|
|
|
|
|
height: SizeConfig.getHeightMultiplier() * 0.5,
|
|
|
|
|
height: SizeConfig.getHeightMultiplier() * 0.7,
|
|
|
|
|
width: double.infinity,
|
|
|
|
|
child: Row(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
|
@ -29,8 +29,7 @@ class AppFooter extends StatelessWidget {
|
|
|
|
|
children: [
|
|
|
|
|
AppText(
|
|
|
|
|
AppStrings.poweredBy,
|
|
|
|
|
medium: true,
|
|
|
|
|
fontSize: SizeConfig.getWidthMultiplier() * 2.6,
|
|
|
|
|
fontSize: SizeConfig.getWidthMultiplier() * 2,
|
|
|
|
|
),
|
|
|
|
|
Text(screenConfigVM.currentScreenIP, style: TextStyle(fontWeight: FontWeight.w500, fontSize: SizeConfig.getWidthMultiplier() * 2.2)),
|
|
|
|
|
Row(
|
|
|
|
|
@ -39,25 +38,34 @@ class AppFooter extends StatelessWidget {
|
|
|
|
|
onTap: () {
|
|
|
|
|
screenConfigVM.updateCurrentScreenRotation(ScreenOrientationEnum.portraitUp);
|
|
|
|
|
},
|
|
|
|
|
child: const Icon(Icons.arrow_upward),
|
|
|
|
|
child: Icon(
|
|
|
|
|
Icons.arrow_upward,
|
|
|
|
|
size: SizeConfig.getWidthMultiplier() * 2,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
InkWell(
|
|
|
|
|
onTap: () {
|
|
|
|
|
screenConfigVM.updateCurrentScreenRotation(ScreenOrientationEnum.landscapeRight);
|
|
|
|
|
},
|
|
|
|
|
child: const Icon(Icons.arrow_forward),
|
|
|
|
|
child: Icon(Icons.arrow_forward, size: SizeConfig.getWidthMultiplier() * 2),
|
|
|
|
|
),
|
|
|
|
|
InkWell(
|
|
|
|
|
onTap: () {
|
|
|
|
|
screenConfigVM.updateCurrentScreenRotation(ScreenOrientationEnum.portraitDown);
|
|
|
|
|
},
|
|
|
|
|
child: const Icon(Icons.arrow_downward),
|
|
|
|
|
child: Icon(
|
|
|
|
|
Icons.arrow_downward,
|
|
|
|
|
size: SizeConfig.getWidthMultiplier() * 2,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
InkWell(
|
|
|
|
|
onTap: () {
|
|
|
|
|
screenConfigVM.updateCurrentScreenRotation(ScreenOrientationEnum.landscapeLeft);
|
|
|
|
|
},
|
|
|
|
|
child: const Icon(Icons.arrow_back),
|
|
|
|
|
child: Icon(
|
|
|
|
|
Icons.arrow_back,
|
|
|
|
|
size: SizeConfig.getWidthMultiplier() * 2,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
@ -77,7 +85,7 @@ class AppFooter extends StatelessWidget {
|
|
|
|
|
padding: const EdgeInsets.symmetric(horizontal: 10),
|
|
|
|
|
child: Marquee(
|
|
|
|
|
text: screenConfigVM.rssFeedModel.rssFeed ?? "",
|
|
|
|
|
style: TextStyle(fontWeight: FontWeight.w500, fontSize: SizeConfig.getWidthMultiplier() * 5),
|
|
|
|
|
style: TextStyle(fontWeight: FontWeight.w500, fontSize: SizeConfig.getWidthMultiplier() * 4),
|
|
|
|
|
scrollAxis: Axis.horizontal,
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
|
blankSpace: 20.0,
|
|
|
|
|
|