ui_target_platform 1.1.0 copy "ui_target_platform: ^1.1.0" to clipboard
ui_target_platform: ^1.1.0 copied to clipboard

This package contains the enum UITargetPlatform, that has the same values than TargetPlatform with a new value web.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'screens/multi_platform/multi_platform_screen.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'ui_target_platform Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MultiPlatformScreen(),
    );
  }
}
1
likes
130
pub points
3%
popularity

Publisher

unverified uploader

This package contains the enum UITargetPlatform, that has the same values than TargetPlatform with a new value web.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on ui_target_platform