LocationMasamuneAdapter class

Initial settings for handling location information MasamuneAdapter.

位置情報を取り扱うための初期設定を行うMasamuneAdapter

Inheritance
  • Object
  • MasamuneAdapter
  • LocationMasamuneAdapter

Constructors

LocationMasamuneAdapter({LocationAccuracy defaultAccuracy = LocationAccuracy.best, double defaultDistanceFilterMeters = 10.0, Location? location, bool listenOnBoot = false, bool enableBackgroundLocation = false})
Initial settings for handling location information MasamuneAdapter.
const

Properties

defaultAccuracy LocationAccuracy
Specifies the accuracy of location information.
final
defaultDistanceFilterMeters double
Minimum distance in meters for location updates.
final
enableBackgroundLocation bool
true to enable background location acquisition.
final
hashCode int
The hash code for this object.
no setterinherited
listenOnBoot bool
true if location is set to true to start acquiring location information when onMaybeBoot is executed.
final
location Location?
Specify the object of Location.
final
loggerAdapters List<LoggerAdapter>
Adapters can be defined to add logger functionality.
no setterinherited
Observers can be set up to monitor transitions between pages.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
runZonedGuarded bool
If you set this to true, you can wrap runApp with runZonedGuarded.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onBuildApp(BuildContext context, Widget app) Widget
Widgets can be added during the build of MasamuneApp.
override
onError(Object error, StackTrace stackTrace) → void
You can describe the process when runZonedGuarded is set to true.
inherited
onInitScope(MasamuneAdapter adapter) → void
Called when initializing MasamuneAdapterScope.
override
onMaybeBoot() FutureOr<void>
It may be called during application initialization.
override
onPreRunApp() FutureOr<void>
You can describe the process before runApp.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

primary LocationMasamuneAdapter
You can retrieve the LocationMasamuneAdapter first given by MasamuneAdapterScope.
no setter