nylo_framework 6.2.2 nylo_framework: ^6.2.2 copied to clipboard
Micro-framework for Flutter that's built to simplify app development for Flutter projects.
import 'package:flutter/material.dart';
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Nylo Framework',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: const MyHomePage(title: 'Nylo'),
);
}
}
class MyHomePage extends StatefulWidget {
const MyHomePage({super.key, required this.title});
final String title;
@override
createState() => _MyHomePageState();
}
class _MyHomePageState extends State<MyHomePage> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(widget.title),
),
body: const Center(
child: Text("Framework"),
),
);
}
}