firexcode 0.7.3 firexcode: ^0.7.3 copied to clipboard
A new Flutter package you can develop attractive and/or create UI are you interested to learn documentation....
import 'package:firexcode/firexcode.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return HomePage().xMaterialApp();
}
}
class HomePage extends StatefulWidget {
@override
_HomePageState createState() => _HomePageState();
}
class _HomePageState extends State<HomePage> {
@override
Widget build(BuildContext context) {
return xListView.list([
['one', 'two', 'three'].xDropdownLabel(
name: 'dropdown',
onChanged: (v) {
setState(() {});
},
dropdownValue: 'two'),
]).xScaffold(appBar: 'example Dropdown'.text().xAppBar());
}
}