waveui 0.0.8
waveui: ^0.0.8 copied to clipboard
An enterprise-class package of Flutter components for mobile applications.
example/lib/main.dart
import 'package:waveui/waveui.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return GetMaterialApp(
title: 'Flutter Demo',
debugShowCheckedModeBanner: false,
theme: WaveTheme(),
home: const MyHomePage(title: 'Flutter Demo Home Page'),
);
}
}
class MyHomePage extends StatefulWidget {
const MyHomePage({super.key, required this.title});
final String title;
@override
State<MyHomePage> createState() => _MyHomePageState();
}
class _MyHomePageState extends State<MyHomePage> {
@override
Widget build(BuildContext context) {
return WaveScaffold(
drawer: Drawer(),
appBar: WaveAppBar(
leading: IconButton(
onPressed: () {},
icon: Icon(FluentIcons.navigation_24_regular),
),
title: Text(widget.title),
),
body: Padding(
padding: EdgeInsets.symmetric(
horizontal: 16,
vertical: 16,
),
child: WaveCard(
width: double.infinity,
height: 300,
padding: EdgeInsets.symmetric(horizontal: 16),
child: Center(
child: WaveExpandableText(text: '''Restarted application in 2,901ms.
Reloaded 1 of 821 libraries in 1,194ms (compile: 52 ms, reload: 565 ms, reassemble: 452 ms).
Reloaded 1 of 821 libraries in 1,198ms (compile: 44 ms, reload: 543 ms, reassemble: 476 ms).
Reloaded 1 of 821 libraries in 1,062ms (compile: 34 ms, reload: 542 ms, reassemble: 363 ms).
Reloaded 0 libraries in 614ms (compile: 22 ms, reload: 0 ms, reassemble: 441 ms).'''),
),
),
),
);
}
}