Flutter (27): Stack, Positioned

Flutter (27): Stack, Positioned

Layered layout is similar to absolute positioning in the Web or Frame layout in Android, where child components can position themselves based on their distance from the four corners of the parent cont···
views:216
Flutter (26): Flow layout (Wrap, Flow)

Flutter (26): Flow layout (Wrap, Flow)

When introducing Row and Column, if a child widget exceeds the screen bounds, an overflow error will occur, as shown below:Row( children: <Widget>[ Text("xxx" * 100), ],); The result i···
views:229
Flutter (25): Flexible layout (Flex)

Flutter (25): Flexible layout (Flex)

A flexible layout allows child components to allocate the parent container's space according to certain proportions. The concept of flexible layout exists in other UI systems as well, such as the ···
views:187
Flutter (24): Linear Layout (Row and Column)

Flutter (24): Linear Layout (Row and Column)

The so-called linear layout refers to arranging child components either horizontally or vertically. In Flutter, linear layouts are implemented using Row and Column, similar to the LinearLayout control···
views:238
Flutter (23): Layout principles and constraints

Flutter (23): Layout principles and constraints

Size-limiting containers are used to restrict the size of a container. Flutter provides several such containers, including ConstrainedBox, SizedBox, UnconstrainedBox, AspectRatio, etc. This section wi···
views:224
Flutter (22): Introduction to layout components

Flutter (22): Introduction to layout components

Layout widgets typically contain one or more child widgets, and different layout widgets arrange (or layout) their child widgets in various ways, as shown in Table 4-1 below:WidgetDescriptionUsageLeaf···
views:341
Flutter (21): Progress Indicator

Flutter (21): Progress Indicator

The Material component library provides two types of progress indicators: LinearProgressIndicator and CircularProgressIndicator. Both can be used to indicate either a precise progress or an indetermin···
views:228
Flutter (20): Input box and form

Flutter (20): Input box and form

The Material component library provides the TextField input box component and the Form component. Let's introduce them one by one.20.1 TextFieldThe TextField is used for text input and offers many···
views:280
Flutter (19): Radio switches and checkboxes

Flutter (19): Radio switches and checkboxes

3.4.1 IntroductionThe Material component library provides Material-styled switches (Switch) and checkboxes (Checkbox). Although both inherit from StatefulWidget, they do not maintain their selected st···
views:246
Flutter (18): Pictures and Icons

Flutter (18): Pictures and Icons

3.3.1 ImagesIn Flutter, we can use the Image widget to load and display images. The image source can be from assets, files, memory, or the internet.1. ImageProviderImageProvider is an abstract class t···
views:236
Flutter (17): Button

Flutter (17): Button

The Material component library provides various button components such as ElevatedButton, TextButton, OutlinedButton, and others. All of these buttons are either directly or indirectly custom wrappers···
views:250
Flutter (16): Text and style

Flutter (16): Text and style

16.1 TextThe Text widget is used to display simple styled text. It contains several properties for controlling the appearance of the text. Here’s a simple example:Text("Helloworld",textAlig···
views:261
Network Redirection Scenarios and Solutions in HarmonyOS

Network Redirection Scenarios and Solutions in HarmonyOS

Network Redirection Scenarios and Solutions in HarmonyOSScenario DescriptionWhen developing applications, you may encounter automatic redirection on pages, where some actions need to be performed base···
views:267
What is Deep Learning?

What is Deep Learning?

Deep learning is a machine learning method that allows us to train artificial intelligence (AI) to predict outputs given a set of inputs (i.e., information fed into or out of a computer). AI can be tr···
views:298
Linux Memory Paging Management

Linux Memory Paging Management

Memory is the primary storage of a computer. It allocates process space for storing data during process execution. This article will delve into the details of memory management, particularly the conce···
views:288