unify_uni_page 0.0.1 copy "unify_uni_page: ^0.0.1" to clipboard
unify_uni_page: ^0.0.1 copied to clipboard

A lightweight Flutter library for seamless integration of native pages using PlatformView. Provides a unified UniPage interface for Android and iOS, enabling easy embedding of native views in Flutter apps.

example/lib/main.dart

import 'package:flutter/material.dart';

import 'package:unify_uni_page_example/page/flutter_hello_page.dart';
import 'package:unify_uni_page_example/unipage/uni_page_demo.dart';

import 'home_page.dart';

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

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

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(routes: {
      '/demo': (context) => const UniPageDemo(),
      '/hello': (context) => const FlutterHelloPage(),
    }, home: const HomePage());
  }
}
0
likes
0
points
10
downloads

Publisher

unverified uploader

Weekly Downloads

A lightweight Flutter library for seamless integration of native pages using PlatformView. Provides a unified UniPage interface for Android and iOS, enabling easy embedding of native views in Flutter apps.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on unify_uni_page

Packages that implement unify_uni_page