adaptive_thom_dev

Creator: coderz1093

Last updated:

0 purchases

adaptive_thom_dev Image
adaptive_thom_dev Images

Languages

Categories

Add to Cart

Description:

adaptive thom dev

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


Getting Started #
Pour utilisé ce package, ajouter au 'pubspec.yam' :
dependencies:
adaptive_thom_dev:^1.0.2
copied to clipboard
Usage #
Dans le fichier Dart, importez:
import: 'package:package:adaptive_thom_dev/adaptive_thom_dev.dart';
copied to clipboard
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();
});
})
],
),
)
);
}
copied to clipboard
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:

Lab: Write your first Flutter app
Cookbook: Useful Flutter samples

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

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.