flutter_yfree 3.3.9 flutter_yfree: ^3.3.9 copied to clipboard
YFree_Flutter Lite Version, Lightweight framework for Flutter development
Getting Started #
Android #
compileSdkVersion 33
minSdkVersion 19
IOS #
Flutter #
import 'package:flutter/material.dart';
import 'package:flutter_yfree/YFree.dart';
void main() {
yRunApp(FirstPage(), Colors.blue, onYConfig: () {
YConfig.appName = "YFreeApp";
});
}
class FirstPage extends YPage {
@override
void yOnCreate() {
yToast("Hello YFree");
}
@override
Widget yBuild(BuildContext context) {
return Center(
child: Text("This is the first page."),
);
}
}