mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2026-10-23 11:57:54 +00:00
showSpaceBottomSheet in a DefaultAppBar and Routine trigger from the device screen
and fixes github comments and i used this package flutter_html: ^3.0.0-beta.2
This commit is contained in:
@@ -11,6 +11,7 @@ import 'package:syncrow_app/features/shared_widgets/text_widgets/title_medium.da
|
||||
import 'package:syncrow_app/generated/assets.dart';
|
||||
import 'package:syncrow_app/navigation/routing_constants.dart';
|
||||
import 'package:syncrow_app/utils/context_extension.dart';
|
||||
import 'package:syncrow_app/utils/resource_manager/color_manager.dart';
|
||||
import 'package:syncrow_app/utils/resource_manager/constants.dart';
|
||||
import 'package:syncrow_app/utils/resource_manager/font_manager.dart';
|
||||
import 'package:syncrow_app/utils/resource_manager/styles_manager.dart';
|
||||
@@ -212,11 +213,14 @@ class SignUpView extends StatelessWidget {
|
||||
TextSpan(
|
||||
text:
|
||||
'By signing up you agree to our ',
|
||||
style: const TextStyle(
|
||||
color: Colors.white,
|
||||
fontSize: 14,
|
||||
fontWeight: FontWeight.w400,
|
||||
),
|
||||
style: Theme.of(context)
|
||||
.textTheme
|
||||
.bodyMedium!
|
||||
.copyWith(
|
||||
fontSize: 16,
|
||||
color: ColorsManager
|
||||
.onPrimaryColor,
|
||||
),
|
||||
children: [
|
||||
WidgetSpan(
|
||||
child: GestureDetector(
|
||||
@@ -227,27 +231,34 @@ class SignUpView extends StatelessWidget {
|
||||
const UserAgreement(),
|
||||
));
|
||||
},
|
||||
child: const Text(
|
||||
'Terms & Conditions',
|
||||
style: TextStyle(
|
||||
fontSize: 16,
|
||||
color: Colors.white,
|
||||
fontWeight: FontWeight.w400,
|
||||
decoration: TextDecoration
|
||||
.underline,
|
||||
decorationColor:
|
||||
Colors.white,
|
||||
),
|
||||
child: BodyMedium(
|
||||
text: 'Terms & Conditions',
|
||||
style: Theme.of(context)
|
||||
.textTheme
|
||||
.bodyMedium
|
||||
?.copyWith(
|
||||
decoration:
|
||||
TextDecoration
|
||||
.underline,
|
||||
decorationColor:
|
||||
ColorsManager
|
||||
.onPrimaryColor,
|
||||
color: ColorsManager
|
||||
.onPrimaryColor,
|
||||
fontSize: 16),
|
||||
),
|
||||
),
|
||||
),
|
||||
const TextSpan(
|
||||
text: ' and ',
|
||||
style: TextStyle(
|
||||
fontWeight: FontWeight.w400,
|
||||
fontSize: 16,
|
||||
color: Colors.white),
|
||||
),
|
||||
TextSpan(
|
||||
text: ' and ',
|
||||
style: Theme.of(context)
|
||||
.textTheme
|
||||
.bodyMedium!
|
||||
.copyWith(
|
||||
fontSize: 16,
|
||||
color: ColorsManager
|
||||
.onPrimaryColor,
|
||||
)),
|
||||
WidgetSpan(
|
||||
child: GestureDetector(
|
||||
onTap: () {
|
||||
@@ -257,17 +268,20 @@ class SignUpView extends StatelessWidget {
|
||||
const PrivacyPolicy(),
|
||||
));
|
||||
},
|
||||
child: const Text(
|
||||
'Privacy Policy',
|
||||
style: TextStyle(
|
||||
fontSize: 16,
|
||||
color: Colors.white,
|
||||
fontWeight: FontWeight.w400,
|
||||
decoration: TextDecoration
|
||||
.underline,
|
||||
decorationColor:
|
||||
Colors.white,
|
||||
),
|
||||
child: BodyMedium(
|
||||
text: 'Privacy Policy',
|
||||
style: Theme.of(context)
|
||||
.textTheme
|
||||
.bodySmall
|
||||
?.copyWith(
|
||||
decoration:
|
||||
TextDecoration
|
||||
.underline,
|
||||
decorationColor:
|
||||
Colors.white,
|
||||
color: ColorsManager
|
||||
.onPrimaryColor,
|
||||
fontSize: 16),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user