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.

Libraries

adaptive_thom_dev