nylo_support 6.4.0 nylo_support: ^6.4.0 copied to clipboard
Support library for the Nylo framework. This library supports routing, widgets, localization, cli, storage and more.
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 Support',
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("Nylo Support"),
),
);
}
}