Этот репозиторий содержит Flutter плагины для платформы ОС Аврора.
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.
 
 
 
 

31 lines
996 B

import 'package:flutter/material.dart';
import 'package:flutter_example_packages/base/di/app_di.dart';
import 'package:flutter_example_packages/pages/flutter_local_notifications/model.dart';
import 'package:scoped_model/scoped_model.dart';
class FlutterLocalNotificationsPage extends StatefulWidget {
const FlutterLocalNotificationsPage({
super.key,
});
@override
State<FlutterLocalNotificationsPage> createState() => _FlutterLocalNotificationsPageState();
}
class _FlutterLocalNotificationsPageState extends State<FlutterLocalNotificationsPage> {
@override
Widget build(BuildContext context) {
return ScopedModel<FlutterLocalNotificationsModel>(
model: getIt<FlutterLocalNotificationsModel>(),
child: ScopedModelDescendant<FlutterLocalNotificationsModel>(builder: (context, child, model) {
return Wrap(
spacing: 20,
runSpacing: 20,
children: const [
Text("data"),
],
);
}),
);
}
}