screentasia 1.2.0 copy "screentasia: ^1.2.0" to clipboard
screentasia: ^1.2.0 copied to clipboard

A Flutter package that helps you create beautifully adaptive designs for all screens with a wealth of features.

example/lib/main.dart

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

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

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

  @override
  Widget build(BuildContext context) {
    return ScreentasiaInit(
      adaptiveFrom: AdaptiveFrom.mobile,
      adaptivePercentage:
          const AdaptivePercentage(mobile: 100, desktop: 100, tablet: 100),
      builder: (context, child) {
        return MaterialApp(
            debugShowCheckedModeBanner: false,
            title: 'Flutter screentasia',
            home: Scaffold(
                appBar: AppBar(
                  title: const Text('Flutter screentasia Demo  Page'),
                ),
                body: Container(
                    color: Colors.blue,
                    width: 100.wp.ap(
                        adaptivePercentage: const AdaptivePercentage(
                            desktop: 100, tablet: 50, mobile: 25)))));
      },
    );
  }
}
47
likes
140
pub points
59%
popularity
screenshot

Publisher

unverified uploader

A Flutter package that helps you create beautifully adaptive designs for all screens with a wealth of features.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on screentasia