This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Widget build(BuildContext context) { | |
return GetMaterialApp( | |
title: "Tangani App", | |
initialRoute: Routes.REGISTRATION_EMAIL, | |
getPages: AppPages.routes, | |
theme: ThemeData( | |
canvasColor: Colors.transparent, | |
primaryColor: Colors.transparent, | |
pageTransitionsTheme: const PageTransitionsTheme(builders: { | |
TargetPlatform.android: FadeUpwardsPageTransitionsBuilder(), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
telkomsel.regex = ^(\\+62|\\+0|0|62)8(1[123]|52|53|21|22|23)[0-9]{5,9}$ | |
simpati.regex = ^(\\+62|\\+0|0|62)8(1[123]|2[12])[0-9]{5,9}$ | |
as.regex = ^(\\+62|\\+0|0|62)8(52|53|23)[0-9]{5,9}$ | |
indosat.regex= ^(\\+62815|0815|62815|\\+0815|\\+62816|0816|62816|\\+0816|\\+62858|0858|62858|\\+0814|\\+62814|0814|62814|\\+0814)[0-9]{5,9}$ | |
im3.regex = ^(\\+62855|0855|62855|\\+0855|\\+62856|0856|62856|\\+0856|\\+62857|0857|62857|\\+0857)[0-9]{5,9}$ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
part of 'ts_appbar.dart'; | |
class TSNestedAppbar extends StatefulWidget { | |
final Widget titleAppbar; | |
final Widget? containerAppbar; | |
final double height; | |
final Widget content; | |
final Widget? leadingAppbar; | |
final List<Widget>? actionsAppbar; | |
final Color backgroundColor; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class TSRoundedBorder extends StatelessWidget { | |
final Color contentBackgroundColor; | |
final Color borderColor; | |
final Widget child; | |
final double borderRadius; | |
final double borderWidth; | |
final bool topLeft; | |
final bool topRight; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
part of 'theme.dart'; | |
const Color blueColor = Color(0xFF001A41); | |
const Color blueColor40 = Color(0xFF4E5764); | |
const Color blueColor10 = Color(0xFFF4F9FF); | |
const Color greyColor80 = Color(0xFF959595); | |
const Color greyColor50 = Color(0xFFDBDBDB); | |
const Color whiteColor = Color(0xFFF6F8F9); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
part of 'ts_dialog.dart'; | |
class TSBottomDialog extends StatefulWidget { | |
final MasterModal masterModal; | |
final TypeModal? typeModal; | |
final double height; | |
final Widget? lottieLibrary; | |
final String typeSurvey; | |
final String title; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TSModalPopup( | |
title: 'Ketahui Jenis-Jenis Survey\nyang Ada di tSurvey', | |
subtitle: | |
'Yuk berkenalan dengan survey yang\nterdapat di tSurvey untuk memudahkan\nAnda dalam menggunakan aplikasi ini', | |
imageUrl: 'assets/vector/popup_first.png', | |
typePopup: TypePopup.overlay, | |
height: Get.height * .5, | |
typeOverlayIcon: TypeOverlayIcon.topLeft, | |
typeApproval: TypeApproval.yesno, | |
nextTitle: 'Cari Tahu Lebih Lanjut', |