You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1005 B
29 lines
1005 B
import 'package:flutter/material.dart'; |
|
import 'package:flutter_example_packages/base/package/package.dart'; |
|
import 'package:flutter_example_packages/packages/flutter_local_notifications/model.dart'; |
|
import 'package:flutter_example_packages/packages/flutter_local_notifications/package.dart'; |
|
import 'package:flutter_example_packages/widgets/layouts/block_layout.dart'; |
|
|
|
class FlutterLocalNotificationsPage extends StatefulWidget { |
|
FlutterLocalNotificationsPage({ |
|
super.key, |
|
}); |
|
|
|
final Package package = packageFlutterLocalNotifications; |
|
|
|
@override |
|
State<FlutterLocalNotificationsPage> createState() => |
|
_FlutterLocalNotificationsPageState(); |
|
} |
|
|
|
class _FlutterLocalNotificationsPageState |
|
extends State<FlutterLocalNotificationsPage> { |
|
@override |
|
Widget build(BuildContext context) { |
|
return BlockLayout<FlutterLocalNotificationsModel>( |
|
title: widget.package.key, |
|
builder: (context, child, model) { |
|
return Text(widget.package.desc); |
|
}); |
|
} |
|
}
|
|
|