Skip to content

Commit

Permalink
reformat code
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianBissekkou committed Jun 28, 2023
1 parent f619e2b commit e5c583c
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 9 deletions.
1 change: 0 additions & 1 deletion example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ android {
}

defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.mapbox.mapboxglexample"
minSdkVersion 20
targetSdkVersion flutter.targetSdkVersion
Expand Down
2 changes: 1 addition & 1 deletion example/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.mapbox.example">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

Expand Down
2 changes: 1 addition & 1 deletion example/android/app/src/profile/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.mapbox.example">
<!-- The INTERNET permission is required for development. Specifically,
the Flutter tool needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
Expand Down
3 changes: 2 additions & 1 deletion example/lib/custom_marker.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ import 'page.dart';
const randomMarkerNum = 100;

class CustomMarkerPage extends ExamplePage {
const CustomMarkerPage({super.key}) : super(const Icon(Icons.place), 'Custom marker');
const CustomMarkerPage({super.key})
: super(const Icon(Icons.place), 'Custom marker');

@override
Widget build(BuildContext context) {
Expand Down
3 changes: 2 additions & 1 deletion example/lib/full_map.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import 'package:maplibre_gl/mapbox_gl.dart';
import 'page.dart';

class FullMapPage extends ExamplePage {
const FullMapPage({super.key}) : super(const Icon(Icons.map), 'Full screen map');
const FullMapPage({super.key})
: super(const Icon(Icons.map), 'Full screen map');

@override
Widget build(BuildContext context) {
Expand Down
3 changes: 2 additions & 1 deletion example/lib/get_map_informations.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import 'package:maplibre_gl/mapbox_gl.dart';
import 'page.dart';

class GetMapInfoPage extends ExamplePage {
const GetMapInfoPage({super.key}) : super(const Icon(Icons.info), 'Get map state');
const GetMapInfoPage({super.key})
: super(const Icon(Icons.info), 'Get map state');

@override
Widget build(BuildContext context) {
Expand Down
3 changes: 2 additions & 1 deletion example/lib/local_style.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import 'package:path_provider/path_provider.dart';
import 'page.dart';

class LocalStylePage extends ExamplePage {
const LocalStylePage({super.key}) : super(const Icon(Icons.map), 'Local style');
const LocalStylePage({super.key})
: super(const Icon(Icons.map), 'Local style');

@override
Widget build(BuildContext context) {
Expand Down
4 changes: 3 additions & 1 deletion example/lib/move_camera.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ import 'package:maplibre_gl/mapbox_gl.dart';
import 'page.dart';

class MoveCameraPage extends ExamplePage {
const MoveCameraPage({super.key}) : super(const Icon(Icons.map), 'Camera control');
const MoveCameraPage({super.key})
: super(const Icon(Icons.map), 'Camera control');

@override
Widget build(BuildContext context) {
Expand All @@ -18,6 +19,7 @@ class MoveCameraPage extends ExamplePage {

class MoveCamera extends StatefulWidget {
const MoveCamera({super.key});

@override
State createState() => MoveCameraState();
}
Expand Down
3 changes: 2 additions & 1 deletion example/lib/offline_regions.dart
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ final List<OfflineRegionListItem> allRegions = [
];

class OfflineRegionsPage extends ExamplePage {
const OfflineRegionsPage({super.key}) : super(const Icon(Icons.map), 'Offline Regions');
const OfflineRegionsPage({super.key})
: super(const Icon(Icons.map), 'Offline Regions');

@override
Widget build(BuildContext context) {
Expand Down

0 comments on commit e5c583c

Please sign in to comment.