Made text selectable
This commit is contained in:
+44
-40
@@ -50,50 +50,54 @@ class _LandingPageState extends State<LandingPage> {
|
|||||||
(MediaQuery.of(context).size.width - _getMainContentWidth()) / 2;
|
(MediaQuery.of(context).size.width - _getMainContentWidth()) / 2;
|
||||||
|
|
||||||
Widget _getSideBar() {
|
Widget _getSideBar() {
|
||||||
return Column(
|
return SelectionArea(
|
||||||
children: [
|
child: Column(
|
||||||
ContentBlock(
|
children: [
|
||||||
blockTitle: AppLocalizations.of(context)!.skills,
|
ContentBlock(
|
||||||
contentType: ContentType.skills,
|
blockTitle: AppLocalizations.of(context)!.skills,
|
||||||
content: contentProvider.getContent(ContentType.skills),
|
contentType: ContentType.skills,
|
||||||
),
|
content: contentProvider.getContent(ContentType.skills),
|
||||||
const Padding(padding: EdgeInsets.only(bottom: 25)),
|
),
|
||||||
ContentBlock(
|
const Padding(padding: EdgeInsets.only(bottom: 25)),
|
||||||
blockTitle: AppLocalizations.of(context)!.languages,
|
ContentBlock(
|
||||||
contentType: ContentType.language,
|
blockTitle: AppLocalizations.of(context)!.languages,
|
||||||
content: contentProvider.getContent(ContentType.language),
|
contentType: ContentType.language,
|
||||||
),
|
content: contentProvider.getContent(ContentType.language),
|
||||||
],
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
Widget _getMainContent() {
|
Widget _getMainContent() {
|
||||||
return Column(
|
return SelectionArea(
|
||||||
children: [
|
child: Column(
|
||||||
ContentBlock(
|
children: [
|
||||||
blockTitle: AppLocalizations.of(context)!.work_experience,
|
ContentBlock(
|
||||||
contentType: ContentType.experience,
|
blockTitle: AppLocalizations.of(context)!.about_me,
|
||||||
content: contentProvider.getContent(ContentType.experience),
|
contentType: ContentType.text,
|
||||||
),
|
content: contentProvider.getContent(ContentType.text),
|
||||||
const Padding(padding: EdgeInsets.only(bottom: 25)),
|
),
|
||||||
ContentBlock(
|
const Padding(padding: EdgeInsets.only(bottom: 25)),
|
||||||
blockTitle: AppLocalizations.of(context)!.education,
|
ContentBlock(
|
||||||
contentType: ContentType.education,
|
blockTitle: AppLocalizations.of(context)!.work_experience,
|
||||||
content: contentProvider.getContent(ContentType.education),
|
contentType: ContentType.experience,
|
||||||
),
|
content: contentProvider.getContent(ContentType.experience),
|
||||||
const Padding(padding: EdgeInsets.only(bottom: 25)),
|
),
|
||||||
ContentBlock(
|
const Padding(padding: EdgeInsets.only(bottom: 25)),
|
||||||
blockTitle: AppLocalizations.of(context)!.additional_skills,
|
ContentBlock(
|
||||||
contentType: ContentType.generalSkills,
|
blockTitle: AppLocalizations.of(context)!.education,
|
||||||
content: contentProvider.getContent(ContentType.generalSkills),
|
contentType: ContentType.education,
|
||||||
),
|
content: contentProvider.getContent(ContentType.education),
|
||||||
const Padding(padding: EdgeInsets.only(bottom: 25)),
|
),
|
||||||
ContentBlock(
|
const Padding(padding: EdgeInsets.only(bottom: 25)),
|
||||||
blockTitle: AppLocalizations.of(context)!.about_me,
|
ContentBlock(
|
||||||
contentType: ContentType.text,
|
blockTitle: AppLocalizations.of(context)!.additional_skills,
|
||||||
content: contentProvider.getContent(ContentType.text),
|
contentType: ContentType.generalSkills,
|
||||||
),
|
content: contentProvider.getContent(ContentType.generalSkills),
|
||||||
],
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user