adaptive_widgets 0.0.4
adaptive_widgets: ^0.0.4 copied to clipboard

A set of utilities which allow you to dynamically adapt your app to the current platform.

example/lib/main.dart

import 'package:adaptive_widgets/adaptive_widgets.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

import 'home/home_widget.dart';

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

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return AdaptiveApp(
      title: "Adaptive App",
      home: HomeWidget(),
      cupertinoTheme: CupertinoThemeData(
        primaryColor: Colors.red,
        primaryContrastingColor: Colors.blue,
      ),
      materialTheme: ThemeData.light(),
    );
  }
}
2
likes
90
pub points
25%
popularity

A set of utilities which allow you to dynamically adapt your app to the current platform.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

peter.bryant@netsells.co.uk

License

BSD (LICENSE)

Dependencies

flutter

More

Packages that depend on adaptive_widgets