flutter_ui_widgets 1.0.0
flutter_ui_widgets: ^1.0.0 copied to clipboard
This package contains Flutter UI widgets that you use in daily life.
example/lib/main.dart
import 'package:flutter/material.dart';
import 'package:flutter_ui_widgets/flutter_ui_widgets.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return const MaterialApp(
title: 'Example App',
home: HomeScreen(),
);
}
}
class HomeScreen extends StatefulWidget {
const HomeScreen({Key? key}) : super(key: key);
@override
_HomeScreenState createState() => _HomeScreenState();
}
class _HomeScreenState extends State<HomeScreen> {
bool isLoading = false;
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text('Neumorphic Loader'),
),
body: FWAppBar(
title: "Example App",
gradient: LinearGradients.lightBlueDarkBlue,
),
floatingActionButton: FWFloatingActionButton(
onPressed: () => {},
child: const Icon(
Icons.add,
),
),
);
}
}