This file contains hidden or 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
_errorsProvider.errorMessage = ErrorMessage( | |
type: ErrorMessageType.error, | |
title: e.toString(), | |
); |
This file contains hidden or 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
final appLocale = ProviderScope.containerOf(context, listen: false) | |
.read(globalProviders.configsProvider) | |
.appLocale; |
This file contains hidden or 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
2022-09-05 21:19:02.028 29604-29604/? D/TSLocationManager: [c.t.l.adapter.TSConfig d] ℹ️ Persist config, dirty: [backgroundPermissionRationale, backgroundPermissionRationale.title, backgroundPermissionRationale.message, backgroundPermissionRationale.negativeAction, debug, desiredAccuracy, enableHeadless, heartbeatInterval, logLevel, startOnBoot, stopOnTerminate] | |
2022-09-05 21:19:02.056 29604-29604/? I/TSLocationManager: [c.t.locationmanager.util.c g] | |
🔵 LocationAuthorization: Requesting Background permission | |
2022-09-05 21:19:02.104 29604-29604/? I/TSLocationManager: [c.t.locationmanager.util.c g] | |
🔵 LocationAuthorization: Requesting Background permission | |
2022-09-05 21:19:02.880 29604-29604/? D/TSLocationManager: [c.t.l.l.LifecycleManager onPause] ☯️ onPause | |
2022-09-05 21:19:02.977 29604-29885/? I/TSLocationManager: [c.t.l.data.sqlite.GeofenceDAO destroyAll] ✅ | |
2022-09-05 21:19:03.007 29604-29886/? I/TSLocationManager: [c.t.l.data.sqlite.GeofenceDAO create] | |
✅ 1 | |
2022-09-05 21:19:03.026 |
This file contains hidden or 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
Router.neglect(context, () { | |
Navigator.push( | |
context, | |
MaterialPageRoute( | |
builder: (context) => const DestinationScreen(), | |
), | |
); | |
}); |
This file contains hidden or 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
return Consumer<ProviderLocale>(builder: ( | |
context, | |
localeProvider, | |
child, | |
) { | |
return Container( | |
width: responsiveWidthWithPadding(32), | |
height: 50, | |
decoration: BoxDecoration( | |
color: Colors.white, |
This file contains hidden or 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
import 'package:flutter/material.dart'; | |
class CustomSwitch2 extends StatefulWidget { | |
final bool value; | |
final ValueChanged<bool> onChanged; | |
const CustomSwitch2({Key key, this.value, this.onChanged}) : super(key: key); | |
@override | |
_CustomSwitch2State createState() => _CustomSwitch2State(); |
This file contains hidden or 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
mport 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
This file contains hidden or 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
import 'dart:async'; | |
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
// This widget is the root of your application. |
This file contains hidden or 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
import 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
// This widget is the root of your application. | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
title: 'Flutter Demo', |
NewerOlder