adaptive_thom_dev 1.0.2 copy "adaptive_thom_dev: ^1.0.2" to clipboard
adaptive_thom_dev: ^1.0.2 copied to clipboard

Adaptive platform android & IOS. Change scaffold, text, button and alert.

Adaptive ThomDev #

Adapation à la plateform utilisé android ou ios. Ce package est destiné à la création d'apllication Flutter

ScreenShot

ScreenShot

Getting Started #

Pour utilisé ce package, ajouter au 'pubspec.yam' :

dependencies:
    adaptive_thom_dev:^1.0.2

Usage #

Dans le fichier Dart, importez:

import: 'package:package:adaptive_thom_dev/adaptive_thom_dev.dart';

Intégrer un Scaffold

@override
  Widget build(BuildContext context) {
    return Adaptive.scaffold(
      string: "Switch Android/IOS",
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.spaceEvenly,
          children: [
            Adaptive.text(string: "Android et ios", color: Colors.green),
            Adaptive.button(child: Adaptive.text(string: "Press me", color: Colors.red), 
            onPressed: (){
              Adaptive.alert(context: context, callback: (){
                Navigator.of(context).pop();
              });
            })
          ],
        ),
      )
    );
  }

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

0
likes
130
pub points
13%
popularity

Publisher

unverified uploader

Adaptive platform android & IOS. Change scaffold, text, button and alert.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on adaptive_thom_dev