push_restapi_dart 0.2.8-alpha push_restapi_dart: ^0.2.8-alpha copied to clipboard
Push SDK provides an abstraction layer to integrate Push protocol features with your Frontend as well as Backend.
import 'package:flutter_riverpod/flutter_riverpod.dart';
import '__lib.dart';
void main() async {
runApp(
ProviderScope(
child: const MyApp(),
),
);
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return GetMaterialApp(
theme: ThemeData(
primaryColor: Colors.purple,
appBarTheme: AppBarTheme(backgroundColor: Colors.purple),
tabBarTheme: TabBarTheme(
labelColor: Colors.white,
indicatorColor: Colors.purple,
unselectedLabelColor: Colors.purple,
indicator: BoxDecoration(
color: Colors.purple,
)),
),
home: HomeScreen(),
);
}
}