adaptive_screen 0.1.3 copy "adaptive_screen: ^0.1.3" to clipboard
adaptive_screen: ^0.1.3 copied to clipboard

Simple represent widget for representative screen.

example/example.dart

import 'package:adaptive_screen/adaptive_screen.dart';
import 'package:flutter/material.dart';


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

  @override
  Widget build(BuildContext context) {
    return const AdaptiveScreen(
      phone: Text('will show when screen on phone size'),
      largeScreen: Text('will show when screen on large screen size'),
      mediumScreen: Text('will show when screen on medium screen size'),
    );
  }
}
3
likes
130
pub points
35%
popularity

Publisher

unverified uploader

Simple represent widget for representative screen.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on adaptive_screen