Skip to content

Commit

Permalink
feat: ajustes de tipografia na tela de licença
Browse files Browse the repository at this point in the history
  • Loading branch information
vitoramaral10 committed Oct 27, 2022
1 parent 2061cac commit 4c90748
Show file tree
Hide file tree
Showing 10 changed files with 294 additions and 190 deletions.
12 changes: 6 additions & 6 deletions .flutter-plugins
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This is a generated file; do not edit or check into version control.
path_provider=C:\\Users\\vitor.melo\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dartlang.org\\path_provider-2.0.11\\
path_provider_android=C:\\Users\\vitor.melo\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dartlang.org\\path_provider_android-2.0.20\\
path_provider_ios=C:\\Users\\vitor.melo\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dartlang.org\\path_provider_ios-2.0.11\\
path_provider_linux=C:\\Users\\vitor.melo\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dartlang.org\\path_provider_linux-2.1.7\\
path_provider_macos=C:\\Users\\vitor.melo\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dartlang.org\\path_provider_macos-2.0.6\\
path_provider_windows=C:\\Users\\vitor.melo\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dartlang.org\\path_provider_windows-2.1.3\\
path_provider=C:\\Users\\Vitor Melo\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dartlang.org\\path_provider-2.0.11\\
path_provider_android=C:\\Users\\Vitor Melo\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dartlang.org\\path_provider_android-2.0.20\\
path_provider_ios=C:\\Users\\Vitor Melo\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dartlang.org\\path_provider_ios-2.0.11\\
path_provider_linux=C:\\Users\\Vitor Melo\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dartlang.org\\path_provider_linux-2.1.7\\
path_provider_macos=C:\\Users\\Vitor Melo\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dartlang.org\\path_provider_macos-2.0.6\\
path_provider_windows=C:\\Users\\Vitor Melo\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dartlang.org\\path_provider_windows-2.1.3\\
2 changes: 1 addition & 1 deletion .flutter-plugins-dependencies
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"path_provider_ios","path":"C:\\\\Users\\\\vitor.melo\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_ios-2.0.11\\\\","native_build":true,"dependencies":[]}],"android":[{"name":"path_provider_android","path":"C:\\\\Users\\\\vitor.melo\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_android-2.0.20\\\\","native_build":true,"dependencies":[]}],"macos":[{"name":"path_provider_macos","path":"C:\\\\Users\\\\vitor.melo\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_macos-2.0.6\\\\","native_build":true,"dependencies":[]}],"linux":[{"name":"path_provider_linux","path":"C:\\\\Users\\\\vitor.melo\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_linux-2.1.7\\\\","native_build":false,"dependencies":[]}],"windows":[{"name":"path_provider_windows","path":"C:\\\\Users\\\\vitor.melo\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_windows-2.1.3\\\\","native_build":false,"dependencies":[]}],"web":[]},"dependencyGraph":[{"name":"path_provider","dependencies":["path_provider_android","path_provider_ios","path_provider_linux","path_provider_macos","path_provider_windows"]},{"name":"path_provider_android","dependencies":[]},{"name":"path_provider_ios","dependencies":[]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_macos","dependencies":[]},{"name":"path_provider_windows","dependencies":[]}],"date_created":"2022-10-25 11:52:23.282019","version":"3.3.5"}
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"path_provider_ios","path":"C:\\\\Users\\\\Vitor Melo\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_ios-2.0.11\\\\","native_build":true,"dependencies":[]}],"android":[{"name":"path_provider_android","path":"C:\\\\Users\\\\Vitor Melo\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_android-2.0.20\\\\","native_build":true,"dependencies":[]}],"macos":[{"name":"path_provider_macos","path":"C:\\\\Users\\\\Vitor Melo\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_macos-2.0.6\\\\","native_build":true,"dependencies":[]}],"linux":[{"name":"path_provider_linux","path":"C:\\\\Users\\\\Vitor Melo\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_linux-2.1.7\\\\","native_build":false,"dependencies":[]}],"windows":[{"name":"path_provider_windows","path":"C:\\\\Users\\\\Vitor Melo\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_windows-2.1.3\\\\","native_build":false,"dependencies":[]}],"web":[]},"dependencyGraph":[{"name":"path_provider","dependencies":["path_provider_android","path_provider_ios","path_provider_linux","path_provider_macos","path_provider_windows"]},{"name":"path_provider_android","dependencies":[]},{"name":"path_provider_ios","dependencies":[]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_macos","dependencies":[]},{"name":"path_provider_windows","dependencies":[]}],"date_created":"2022-10-26 22:50:43.996676","version":"3.3.5"}
51 changes: 48 additions & 3 deletions example/lib/pages/about/license_page.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:get_bootstrap/get_bootstrap.dart';
import 'package:url_launcher/url_launcher.dart';

import '../widgets/header_widget.dart';
import '../widgets/sidebar.dart';
Expand Down Expand Up @@ -37,20 +39,26 @@ class LicensePage extends StatelessWidget {
child: ListView(
shrinkWrap: true,
children: [
const SizedBox(
height: 32,
),
Text(
'Perguntas frequentes sobre licenças',
style: GetBootstrap.typography.headline1,
),
Text(
'Perguntas mais frequentes sobre a licença de código aberto do Bootstrap.',
style: Theme.of(context).textTheme.titleLarge,
style: GetBootstrap.typography.lead,
),
const SizedBox(
height: 32,
),
const Text(
'Bootstrap é lançado sob a licença do MIT e é copyright 2022 Twitter. Resumido em pedaços menores, pode ser descrito com as seguintes condições.',
),
const SizedBox(
height: 32,
),
Text(
'Ele exige que você:',
style: GetBootstrap.typography.headline2,
Expand All @@ -66,6 +74,9 @@ class LicensePage extends StatelessWidget {
],
),
),
const SizedBox(
height: 32,
),
Text(
'Ele permite que você:',
style: GetBootstrap.typography.headline2,
Expand All @@ -90,6 +101,9 @@ class LicensePage extends StatelessWidget {
],
),
),
const SizedBox(
height: 32,
),
Text(
'Ele proíbe você de:',
style: GetBootstrap.typography.headline2,
Expand Down Expand Up @@ -117,6 +131,9 @@ class LicensePage extends StatelessWidget {
],
),
),
const SizedBox(
height: 32,
),
Text(
'Não exige que você:',
style: GetBootstrap.typography.headline2,
Expand All @@ -135,8 +152,36 @@ class LicensePage extends StatelessWidget {
],
),
),
const Text(
'A licença completa do Bootstrap está localizada no repositório do projeto para obter mais informações.',
Padding(
padding:
const EdgeInsets.symmetric(vertical: 8.0),
child: RichText(
text: TextSpan(
children: [
TextSpan(
text:
'A licença completa do Bootstrap está localizada ',
style:
GetBootstrap.typography.bodyText2,
),
TextSpan(
text: 'no repositório do projeto',
style: GetBootstrap.typography.link,
recognizer: TapGestureRecognizer()
..onTap = () {
launchUrl(Uri.parse(
'https://github.com/vitoramaral10/get_bootstrap',
));
},
),
TextSpan(
text: ' para obter mais informações.',
style:
GetBootstrap.typography.bodyText2,
),
],
),
),
),
],
),
Expand Down
Loading

0 comments on commit 4c90748

Please sign in to comment.