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

outdated

A new flutter plugin project.

example/lib/main.dart

import 'package:flutter/material.dart';

import 'pages/entrypoint.dart';
import 'pages/method_channel_callbacks.dart';

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: DefaultTabController(
        length: 2,
        child: Scaffold(
          appBar: AppBar(
            bottom: const TabBar(
              tabs: [
                Tab(icon: Icon(Icons.directions_car)),
                Tab(icon: Icon(Icons.directions_bike)),
              ],
            ),
            title: const Text('Tests'),
          ),
          body: const TabBarView(
            children: [
              EntrypointProtobuf(),
              MethodChannelCallbacks(),
            ],
          ),
        ),
      ),
    );
  }
}
0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

A new flutter plugin project.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

equatable, fixnum, flutter, protobuf, rxdart, uuid

More

Packages that depend on flutter_native_mirror