@@ -58,41 +58,44 @@ class _MyAppState extends State<MyApp> {
5858 child: Center (
5959 child: Builder (builder: (context) {
6060 final textTheme = Theme .of (context).textTheme;
61- return Column (
62- crossAxisAlignment: CrossAxisAlignment .center,
63- mainAxisAlignment: MainAxisAlignment .center,
64- children: [
65- Icon (
66- _jailbroken || _hooks ? Icons .lock_open : Icons .lock,
67- size: 80 ,
68- ).padding (bottom: 24 ),
69- Text (
70- 'Protection' ,
71- style: textTheme.headlineLarge,
72- ).padding (bottom: 8 ),
73- Text (
74- 'Here is a list of the threats that could put you at risk' ,
75- style: textTheme.titleMedium? .copyWith (color: Colors .grey),
76- textAlign: TextAlign .center,
77- ).padding (bottom: 16 ),
78- ThreatCard (
79- title: 'Jailbreak / Root' ,
80- description:
81- 'Is a way of acquiring privileged control over the operating system of a device. Tools such as Magisk or Shadow can hide the privileged access' ,
82- status: _jailbroken,
83- ),
84- ThreatCard (
85- title: 'Hooks' ,
86- description:
87- 'Intercept system or application calls and then modify them (modify the return value of a function call for example)' ,
88- status: _hooks,
89- ),
90- ThreatCard (
91- title: 'Simulator' ,
92- description: 'Running the application in an Simulator' ,
93- status: _simulator,
94- ),
95- ],
61+ return SingleChildScrollView (
62+ child: Column (
63+ crossAxisAlignment: CrossAxisAlignment .center,
64+ mainAxisAlignment: MainAxisAlignment .center,
65+ children: [
66+ Icon (
67+ _jailbroken || _hooks ? Icons .lock_open : Icons .lock,
68+ size: 80 ,
69+ ).padding (bottom: 24 ),
70+ Text (
71+ 'Protection' ,
72+ style: textTheme.headlineLarge,
73+ ).padding (bottom: 8 ),
74+ Text (
75+ 'Here is a list of the threats that could put you at risk' ,
76+ style:
77+ textTheme.titleMedium? .copyWith (color: Colors .grey),
78+ textAlign: TextAlign .center,
79+ ).padding (bottom: 16 ),
80+ ThreatCard (
81+ title: 'Jailbreak / Root' ,
82+ description:
83+ 'Is a way of acquiring privileged control over the operating system of a device. Tools such as Magisk or Shadow can hide the privileged access' ,
84+ status: _jailbroken,
85+ ),
86+ ThreatCard (
87+ title: 'Hooks' ,
88+ description:
89+ 'Intercept system or application calls and then modify them (modify the return value of a function call for example)' ,
90+ status: _hooks,
91+ ),
92+ ThreatCard (
93+ title: 'Simulator' ,
94+ description: 'Running the application in an Simulator' ,
95+ status: _simulator,
96+ ),
97+ ],
98+ ),
9699 );
97100 }),
98101 ).padding (left: 20 , right: 20 ),
0 commit comments