flutter_adaptive 2.0.1 copy "flutter_adaptive: ^2.0.1" to clipboard
flutter_adaptive: ^2.0.1 copied to clipboard

discontinued
outdated

A series of widgets and utilities that adapt to the current platform.

example/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_adaptive/flutter_adaptive.dart' as adaptive;

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

  @override
  Widget build(BuildContext context) {
    return adaptive.Route(
      title: 'App',
      child: SliverList(
        delegate: SliverChildListDelegate([
          adaptive.ListTile(
            leading: Icon(adaptive.Icons.info(context)),
            title: const Text('About'),
            onTap: () => showAboutDialog(context: context),
          ),
        ]),
      ),
    );
  }
}