INNER CODE UNIT · Dart

ExamplePage

maplibre/flutter-maplibre-gl · maplibre_gl_example/lib/page.dart:18

abstract class ExamplePage extends StatelessWidget {
  const ExamplePage(
    this.leading,
    this.title, {
    this.needsLocationPermission = true,
    this.category = ExampleCategory.basics,
    super.key,
  });

  final Widget leading;
  final String title;
  final bool needsLocationPermission;
  final ExampleCategory category;

  String get slug => title
      .toLowerCase()
      .replaceAll(RegExp('[^a-z0-9]+'), '-')
      .replaceAll(RegExp('-+'), '-')

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…