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
PlutoGridStateManager.initializeRowsAsync( | |
columns, | |
fetchedRows, | |
).then((value) { | |
stateManager.refRows.addAll(FilteredList(initialList: value)); | |
stateManager.notifyListeners(); | |
}); |
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:async'; | |
import 'package:flutter/material.dart'; | |
import 'package:pluto_grid/pluto_grid.dart'; | |
void main() { | |
runApp(const MyApp()); | |
} | |
class MyApp extends StatelessWidget { |
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'; | |
void main() { | |
runApp( | |
MaterialApp( | |
theme: ThemeData( | |
chipTheme: const ChipThemeData( | |
selectedColor: Colors.blueAccent, | |
), | |
), |
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
wget https://dl.thorium.rocks/debian/dists/stable/thorium.list | |
sudo mv thorium.list /etc/apt/sources.list.d/ | |
sudo apt update | |
sudo apt install thorium-browser |
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
#Update packages list | |
sudo apt-get update | |
#Upgrade packages | |
sudo apt-get upgrade | |
#Install update-manager-core package | |
sudo apt-get install update-manager-core | |
#Upgrade distro | |
sudo apt-get dist-upgrade | |
#Update Ubuntu to the latest LTS release |
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
1- create a docker file | |
FROM alpine:latest | |
ARG PB_VERSION=0.18.1 | |
RUN apk add --no-cache \ | |
unzip \ | |
ca-certificates |
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'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
title: 'Stick Row to Bottom', | |
theme: ThemeData(primarySwatch: Colors.blue), |
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
stateManager.rows | |
//You can access rows in List type. | |
//However, if they are filtered, you can only access them. | |
stateManager.refRows.originalList | |
//Same as rows, but you can access all rows regardless of filtering or not. | |
//Every row has a cells property and this is a map. |
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
curl -fsSL https://get.docker.com | sudo sh |
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
Struggled with web authentication for a while several errors, but this error was one of them. | |
My organization does not participate in MPN, and the Microsoft Azure side had some changes recently that don't seem to be reflected in current discussion threads, seems like many options have been rebranded or renamed. | |
Lot's of different errors from Pocketbase from all different Azure test implementations. Below is what worked for me for a web app implementation: | |
Start by logging in to the Azure portal, navigating to Azure>Microsoft Entra ID>Home>Default Directory>App Registrations | |
Add a new application, fill in as many details as make sense. Navigate to the dashboard for that app. | |
Configure app as Web Client (NOT SPA, even if your app is an SPA), the code challenge will fail otherwise. |
NewerOlder