Property | Description |
---|---|
child |
Child is the widget which comes under this widget |
onHover |
Its called when a mouse pointer enters or exits the ink response area. |
onTap |
When the widget is clicked, onTap is triggered. |
onLongPress |
When the user presses the widget for more than 500 milliseconds, this function is called. |
hoverColor |
It is called when a pointer enters or exits the ink response area. |
splashColor |
The splash color of the ink response. |
radius |
The radius of th |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:developer'; | |
import 'dart:io'; | |
import 'package:firebase_core/firebase_core.dart'; | |
import 'package:firebase_messaging/firebase_messaging.dart'; | |
import 'package:flutter_local_notifications/flutter_local_notifications.dart'; | |
import 'package:http/http.dart' as http; | |
import 'package:path_provider/path_provider.dart'; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:amplify_analytics_pinpoint/amplify_analytics_pinpoint.dart'; | |
import 'package:amplify_auth_cognito/amplify_auth_cognito.dart'; | |
import 'package:amplify_flutter/amplify.dart'; | |
void _configureAmplify() async { | |
if (!mounted) return; | |
AmplifyAuthCognito authPlugin = AmplifyAuthCognito(); | |
AmplifyAnalyticsPinpoint analyticsPlugin = AmplifyAnalyticsPinpoint(); | |
Amplify.addPlugins([authPlugin, analyticsPlugin]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
import 'package:firebase_core/firebase_core.dart'; | |
import 'package:firebase_messaging/firebase_messaging.dart'; | |
import '../notification_handler.dart'; | |
Future<void> main() async { | |
WidgetsFlutterBinding.ensureInitialized(); | |
await Firebase.initializeApp(); |
Property | Description |
---|---|
child |
Child is the widget which comes under this widget |
duration |
It is used to tell for how much duration the child should be animated |
curve |
The animated curve to be applied. |
decoration |
Decoration behind the child. |
foregroundDecoration |
Decoration in front of the child. |
onEnd |
Called after animation ends. |
transform |
The transformation matrix to apply before painting the container. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:convert'; | |
import 'dart:developer'; | |
import 'package:amazon_cognito_identity_dart_2/sig_v4.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:http/http.dart' as http; | |
import 'package:sigv4/sigv4.dart'; | |
class BotService { | |
Map<String,dynamic> result; |