flutter_drivekit_trip_simulator 1.7.0 copy "flutter_drivekit_trip_simulator: ^1.7.0" to clipboard
flutter_drivekit_trip_simulator: ^1.7.0 copied to clipboard

This is the Flutter plugin for DriveQuant's DriveKit TripSimulator component.

example/lib/main.dart

import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(home: HomePage());
  }
}

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

  @override
  State<HomePage> createState() => _HomePageState();
}

class _HomePageState extends State<HomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('DriveKitTripSimulator Example')),
      body: const Column(
        children: [
          Text('Please refer to the main flutter example SDK'),
          Text(
            'https://github.com/DriveQuantPublic/flutter-drivekit/tree/main/example',
          ),
        ],
      ),
    );
  }
}